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(various): re-enable scrolling when disconnecting the component before animationend #2970

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

kyubisation
Copy link
Contributor

Currently if an overlay element is removed from the DOM before its animationend event is called, the page is stuck with disabled scrolling. To prevent this, we re-enable the scrolling additionally in the disconnectedCallback.

Closes #2967

@github-actions github-actions bot added the pr: peer review required A peer review is required for this pull request label Jul 26, 2024
@github-actions github-actions bot temporarily deployed to pr2970 July 26, 2024 11:27 Inactive
@github-actions github-actions bot temporarily deployed to pr2970-diff July 26, 2024 11:27 Inactive
Copy link
Contributor

@dauriamarco dauriamarco left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@github-actions github-actions bot added pr: peer review approved Pull request has been approved by a peer review and removed pr: peer review required A peer review is required for this pull request labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Menu scroll after navigation
2 participants