From 9f711f5cd86079f25c87398788b266c55366e7be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Thu, 1 Feb 2024 15:03:37 +0300 Subject: [PATCH] refactor on https://github.com/primefaces/primeng/pull/14628 --- 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 e8f1ebe70b2..ff8ca9ff571 100755 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -1216,7 +1216,7 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV this.updateModel(value, event); setTimeout(() => { this.onChange.emit({ originalEvent: event, value: value }); - }); + }, 1); !this.overlayVisible && ObjectUtils.isNotEmpty(value) && this.show(); }