From 8705e65ee03d35b54b311e0c1527b76458adff9d Mon Sep 17 00:00:00 2001 From: Diego Franchina Date: Mon, 30 Oct 2023 20:45:14 +0100 Subject: [PATCH 1/2] hide menu on click in default button --- src/app/components/splitbutton/splitbutton.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/splitbutton/splitbutton.ts b/src/app/components/splitbutton/splitbutton.ts index c61ab96146b..08d7bd86ce6 100755 --- a/src/app/components/splitbutton/splitbutton.ts +++ b/src/app/components/splitbutton/splitbutton.ts @@ -218,6 +218,7 @@ export class SplitButton { onDefaultButtonClick(event: MouseEvent) { this.onClick.emit(event); + this.menu.hide(); } onDropdownButtonClick(event?: MouseEvent) { From 5556a36975d4e6c7fdb18f21dc236b716472ea46 Mon Sep 17 00:00:00 2001 From: Diego Franchina Date: Mon, 30 Oct 2023 20:45:29 +0100 Subject: [PATCH 2/2] Formatted code --- src/app/components/accordion/accordion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/accordion/accordion.ts b/src/app/components/accordion/accordion.ts index eb1f4677344..f11af7c0759 100755 --- a/src/app/components/accordion/accordion.ts +++ b/src/app/components/accordion/accordion.ts @@ -422,7 +422,7 @@ export class Accordion implements BlockableUI, AfterContentInit, OnDestroy { */ @Output() activeIndexChange: EventEmitter = new EventEmitter(); - @ContentChildren(AccordionTab, {descendants: true}) tabList: QueryList | undefined; + @ContentChildren(AccordionTab, { descendants: true }) tabList: QueryList | undefined; tabListSubscription: Subscription | null = null;