Skip to content

fix(material/menu): close menu when cleared from trigger#33306

Merged
crisbeto merged 1 commit into
angular:mainfrom
crisbeto:30139/menu-trigger-clear
May 28, 2026
Merged

fix(material/menu): close menu when cleared from trigger#33306
crisbeto merged 1 commit into
angular:mainfrom
crisbeto:30139/menu-trigger-clear

Conversation

@crisbeto

Copy link
Copy Markdown
Member

Fixes that the menu would get stuck in the open state if it's cleared from the trigger while it's open.

Fixes #30139.

Fixes that the menu would get stuck in the open state if it's cleared from the trigger while it's open.

Fixes angular#30139.
@crisbeto crisbeto added the target: rc This PR is targeted for the next release-candidate label May 27, 2026
@crisbeto crisbeto requested a review from ok7sai May 27, 2026 07:59
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label May 28, 2026
@crisbeto crisbeto merged commit 8b729f3 into angular:main May 28, 2026
32 of 35 checks passed
@crisbeto

Copy link
Copy Markdown
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

crisbeto added a commit that referenced this pull request May 28, 2026
Fixes that the menu would get stuck in the open state if it's cleared from the trigger while it's open.

Fixes #30139.

(cherry picked from commit 8b729f3)
@angular-automatic-lock-bot

Copy link
Copy Markdown

This pull request has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jun 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: material/menu target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(Menu): fix menu panels not closing when no trigger is present

2 participants