fix(RangePicker): fix active bar alignment (#8221)
parent
aa211fd789
commit
c2f74d69b6
|
@ -413,7 +413,11 @@ function RangerPicker<DateType>() {
|
||||||
const { width: panelDivWidth } = useElementSize(panelDivRef);
|
const { width: panelDivWidth } = useElementSize(panelDivRef);
|
||||||
const { width: arrowWidth } = useElementSize(arrowRef);
|
const { width: arrowWidth } = useElementSize(arrowRef);
|
||||||
const { width: startInputDivWidth } = useElementSize(startInputDivRef);
|
const { width: startInputDivWidth } = useElementSize(startInputDivRef);
|
||||||
const { width: separatorWidth } = useElementSize(separatorRef);
|
const { width: separatorWidth } = useElementSize(
|
||||||
|
separatorRef,
|
||||||
|
{ width: 0, height: 0 },
|
||||||
|
{ box: 'border-box' },
|
||||||
|
);
|
||||||
watch(
|
watch(
|
||||||
[
|
[
|
||||||
mergedActivePickerIndex,
|
mergedActivePickerIndex,
|
||||||
|
|
Loading…
Reference in New Issue