From 7e29b953f40df928b61f4730aebcbc8b17320176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuzhan?= Date: Thu, 2 May 2024 23:06:18 +0300 Subject: [PATCH] focus blink fix --- components/lib/datepicker/DatePicker.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/lib/datepicker/DatePicker.vue b/components/lib/datepicker/DatePicker.vue index 3990c124b..d66b0bbf0 100755 --- a/components/lib/datepicker/DatePicker.vue +++ b/components/lib/datepicker/DatePicker.vue @@ -1155,11 +1155,11 @@ export default { } if (this.isSingleSelection() && (!this.showTime || this.hideOnDateTimeSelect)) { + if (this.input) { + this.input.focus(); + } + setTimeout(() => { - if (this.input) { - this.input.focus(); - } - this.overlayVisible = false; }, 150); }