Skip to content

Commit

Permalink
Merge pull request #13983 from SoyDiego/13962-splitbutton-hide-menu
Browse files Browse the repository at this point in the history
SplitButton: Hide menu on click on default button.
  • Loading branch information
cetincakiroglu authored Nov 8, 2023
2 parents 4419e72 + 5556a36 commit 2c22d24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/splitbutton/splitbutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export class SplitButton {

onDefaultButtonClick(event: MouseEvent) {
this.onClick.emit(event);
this.menu.hide();
}

onDropdownButtonClick(event?: MouseEvent) {
Expand Down

1 comment on commit 2c22d24

@vercel
Copy link

@vercel vercel bot commented on 2c22d24 Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.