Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(material/menu): decouple menu lifecycle from animations #30148

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Dec 9, 2024

Reworks the menu so that its removal isn't bound by animations. The current approach is somewhat brittle and makes it difficult to eventually switch to a fully CSS-based animation.

@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Dec 9, 2024
@crisbeto crisbeto force-pushed the remove-menu-animation-delay branch 2 times, most recently from 7c16889 to 996d44d Compare December 9, 2024 13:36
@crisbeto crisbeto marked this pull request as ready for review December 9, 2024 16:59
@crisbeto crisbeto requested a review from a team as a code owner December 9, 2024 16:59
@crisbeto crisbeto requested review from amysorto and wagnermaciel and removed request for a team December 9, 2024 16:59
@crisbeto crisbeto added the merge: preserve commits When the PR is merged, a rebase and merge should be performed label Dec 9, 2024
@crisbeto crisbeto force-pushed the remove-menu-animation-delay branch 3 times, most recently from 996d44d to 469bd2e Compare December 10, 2024 08:38
Reworks the menu so that its removal isn't bound by animations. The current approach is somewhat brittle and makes it difficult to eventually switch to a fully CSS-based animation.
@crisbeto crisbeto force-pushed the remove-menu-animation-delay branch from 469bd2e to ad2039a Compare December 10, 2024 08:57
@crisbeto crisbeto removed merge: preserve commits When the PR is merged, a rebase and merge should be performed area: cdk/scrolling labels Dec 10, 2024
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Dec 10, 2024
@crisbeto crisbeto merged commit 7739315 into angular:main Dec 10, 2024
21 of 23 checks passed
crisbeto added a commit that referenced this pull request Dec 10, 2024
Reworks the menu so that its removal isn't bound by animations. The current approach is somewhat brittle and makes it difficult to eventually switch to a fully CSS-based animation.

(cherry picked from commit 7739315)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: material/menu target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants