Skip to content

fix(material/sidenav): not resetting margin if transition does not start#33001

Open
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:32992/sidenav-animation-start
Open

fix(material/sidenav): not resetting margin if transition does not start#33001
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:32992/sidenav-animation-start

Conversation

@crisbeto
Copy link
Copy Markdown
Member

Currently the sidenav sets its margin when the transition starts, however that might not happen if its interruped which can leave it in a broken state.

These changes switch to always dispatching the event.

Fixes #32992.

@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Mar 27, 2026
@pullapprove pullapprove bot requested review from tjshiu and wagnermaciel March 27, 2026 08:30
Currently the sidenav sets its margin when the transition starts, however that might not happen if its interruped which can leave it in a broken state.

These changes switch to always dispatching the event.

Fixes angular#32992.
@crisbeto crisbeto force-pushed the 32992/sidenav-animation-start branch from 82170de to 1a1dff8 Compare March 27, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: material/sidenav 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(sidenav): drawer leaves empty space if closing animation is interrupted

1 participant