fix: dataRange active-bar (#7157)

feat-4.1
somethingfornothing 2023-12-18 11:37:38 +08:00 committed by GitHub
parent cfa0a68568
commit f93dd9170d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -426,8 +426,8 @@ function RangerPicker<DateType>() {
],
() => {
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 &&