From 64119a65fad8084e1d00d67bb84dc1769827f7d9 Mon Sep 17 00:00:00 2001 From: leonidasdel <55215042+leonidasdel@users.noreply.github.com> Date: Sun, 14 Jul 2024 20:23:08 +0300 Subject: [PATCH 1/2] Fixed 15800 - Dropdown | onBlur event is emitted when the user clicks the dropdown arrow --- src/app/components/dropdown/dropdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts index c12794aaace..98c70223566 100755 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -191,7 +191,7 @@ export class DropdownItem { -
+
From 206786b7bd113e7288663570cb8342a2d3c97d52 Mon Sep 17 00:00:00 2001 From: leonidasdel <55215042+leonidasdel@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:21:37 +0300 Subject: [PATCH 2/2] pr remarks --- src/app/components/dropdown/dropdown.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts index 98c70223566..36763c821ef 100755 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -191,7 +191,7 @@ export class DropdownItem { -
+
@@ -1471,6 +1471,10 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV this.preventModelTouched = false; } + onMouseDown(event: MouseEvent) { + event.preventDefault(); + } + onKeyDown(event: KeyboardEvent, search: boolean) { if (this.disabled || this.readonly || this.loading) { return;