Skip to content

Commit c8041c7

Browse files
committed
fixup! fix(NcDateTimePicker): improve some usability issues
1 parent 785aa4a commit c8041c7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/NcDateTimePicker/NcDateTimePicker.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,9 @@ function onCalendarWheel(event: WheelEvent) {
765765
currentMonthYear.value = { month, year }
766766
pickerInstance.value?.setMonthYear({ month, year })
767767
768-
scrollCooldownTimer = setTimeout(() => { scrollCooldownTimer = null }, SCROLL_STEP_COOLDOWN_MS)
768+
scrollCooldownTimer = setTimeout(() => {
769+
scrollCooldownTimer = null
770+
}, SCROLL_STEP_COOLDOWN_MS)
769771
}
770772
771773
/**

0 commit comments

Comments
 (0)