From f93dd9170d9e371d584df4fe4ea74e6dc56a14f5 Mon Sep 17 00:00:00 2001 From: somethingfornothing <91053541+mmmmr@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:37:38 +0800 Subject: [PATCH] fix: dataRange active-bar (#7157) --- components/vc-picker/RangePicker.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/vc-picker/RangePicker.tsx b/components/vc-picker/RangePicker.tsx index 88016165f..69cb823dd 100644 --- a/components/vc-picker/RangePicker.tsx +++ b/components/vc-picker/RangePicker.tsx @@ -426,8 +426,8 @@ function RangerPicker() { ], () => { arrowLeft.value = 0; - if (mergedOpen.value && mergedActivePickerIndex.value) { - if (startInputDivRef.value && separatorRef.value && panelDivRef.value) { + if (mergedActivePickerIndex.value) { + if (startInputDivRef.value && separatorRef.value) { arrowLeft.value = startInputDivWidth.value + separatorWidth.value; if ( panelDivWidth.value &&