Skip to content

fix(aria/menu): itemSelected not emitted when menu is attached to a trigger#32880

Open
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:32865/aria-menu-select-item
Open

fix(aria/menu): itemSelected not emitted when menu is attached to a trigger#32880
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:32865/aria-menu-select-item

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Mar 4, 2026

The logic that dispatches itemSelected wasn't accounting for the case where the menu root is a trigger.

Fixes #32865.

…rigger

The logic that dispatches `itemSelected` wasn't accounting for the case where the menu root is a trigger.

Fixes angular#32865.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Mar 4, 2026
@pullapprove pullapprove bot requested review from adolgachev and tjshiu March 4, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(aria/menu): itemSelected event is not triggered when selecting an ngMenuItem

1 participant