Skip to content

Commit 45c0ef4

Browse files
mattheyannullptru
authored andcommitted
TimePicker: Set the selection range after scrolling up or down (ElemeFE#16868)
1 parent 059448b commit 45c0ef4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/date-picker/src/basic/time-spinner.vue

+1
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@
283283
284284
this.modifyDateField(label, now);
285285
this.adjustSpinner(label, now);
286+
this.$nextTick(() => this.emitSelectRange(this.currentScrollbar));
286287
},
287288
amPm(hour) {
288289
let shouldShowAmPm = this.amPmMode.toLowerCase() === 'a';

0 commit comments

Comments
 (0)