From ade949cc3af9248c62954e067e2c6db783bfa366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20FINDIKLI?= Date: Mon, 19 Apr 2021 14:46:49 +0300 Subject: [PATCH] Fixed #8961 - Hovering on timepicker arrows acting like select after clicking an arrow in the time picker --- src/app/components/calendar/calendar.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/app/components/calendar/calendar.ts b/src/app/components/calendar/calendar.ts index 1f8fcc26464..e8bc59acd2d 100755 --- a/src/app/components/calendar/calendar.ts +++ b/src/app/components/calendar/calendar.ts @@ -109,11 +109,11 @@ export interface LocaleSettings {
- 0{{currentHour}} -
@@ -121,11 +121,11 @@ export interface LocaleSettings { {{timeSeparator}}
- 0{{currentMinute}} -
@@ -133,11 +133,11 @@ export interface LocaleSettings { {{timeSeparator}}
- 0{{currentSecond}} -
@@ -1714,7 +1714,7 @@ export class Calendar implements OnInit,OnDestroy,ControlValueAccessor { } } - onTimePickerElementMouseOut(event: Event) { + onTimePickerElementMouseLeave() { if (!this.disabled && this.timePickerTimer) { this.clearTimePickerTimer(); this.updateTime(); @@ -1759,6 +1759,7 @@ export class Calendar implements OnInit,OnDestroy,ControlValueAccessor { clearTimePickerTimer() { if (this.timePickerTimer) { clearTimeout(this.timePickerTimer); + this.timePickerTimer = null; } }