We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa211fd commit c2f74d6Copy full SHA for c2f74d6
components/vc-picker/RangePicker.tsx
@@ -413,7 +413,11 @@ function RangerPicker<DateType>() {
413
const { width: panelDivWidth } = useElementSize(panelDivRef);
414
const { width: arrowWidth } = useElementSize(arrowRef);
415
const { width: startInputDivWidth } = useElementSize(startInputDivRef);
416
- const { width: separatorWidth } = useElementSize(separatorRef);
+ const { width: separatorWidth } = useElementSize(
417
+ separatorRef,
418
+ { width: 0, height: 0 },
419
+ { box: 'border-box' },
420
+ );
421
watch(
422
[
423
mergedActivePickerIndex,
0 commit comments