fix(RangePicker): fix active bar alignment (#8221)

pull/8226/head
codingories 2025-06-10 13:13:17 +08:00
parent aa211fd789
commit c2f74d69b6
1 changed files with 5 additions and 1 deletions

View File

@ -413,7 +413,11 @@ function RangerPicker<DateType>() {
const { width: panelDivWidth } = useElementSize(panelDivRef);
const { width: arrowWidth } = useElementSize(arrowRef);
const { width: startInputDivWidth } = useElementSize(startInputDivRef);
const { width: separatorWidth } = useElementSize(separatorRef);
const { width: separatorWidth } = useElementSize(
separatorRef,
{ width: 0, height: 0 },
{ box: 'border-box' },
);
watch(
[
mergedActivePickerIndex,