From 42604c726f490a19b1fcfe7e9fba970e0854ff12 Mon Sep 17 00:00:00 2001 From: Phoenix Wong Date: Sun, 19 Jan 2020 22:17:19 +0800 Subject: [PATCH 1/2] Keep the dropdown menu open when mouse drag on the hour/minute/second list's scrollbar handler. Closes #94 --- src/vue-timepicker.vue | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/vue-timepicker.vue b/src/vue-timepicker.vue index bc3a8b6..c726744 100644 --- a/src/vue-timepicker.vue +++ b/src/vue-timepicker.vue @@ -1098,7 +1098,9 @@ export default { }, keepFocusing () { - this.isFocusing = true + if (!this.isFocusing) { + this.isFocusing = true + } }, validItemsInCol (columnClass) { @@ -1378,7 +1380,7 @@ export default {