Skip to content

Attach event listeners before adding md-leave to paper-menu content - #1360

Open
pauln wants to merge 1 commit into
adopted-ember-addons:mainfrom
pauln:bugfix/1359-paper-menu-content
Open

Attach event listeners before adding md-leave to paper-menu content#1360
pauln wants to merge 1 commit into
adopted-ember-addons:mainfrom
pauln:bugfix/1359-paper-menu-content

Conversation

@pauln

@pauln pauln commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Swaps the order of waitForAnimations() (which sets up a transitionend or animationend event listener) and the addition of the md-leave class to the (clone of the) content, to ensure that the listener actually gets triggered. Firefox sometimes seems to skip it otherwise - resulting in an invisible copy of the dropdown remaining in place on top of other content, preventing interaction with anything under it.

Fixes #1359

Swaps the order of `waitForAnimations()` (which sets up a `transitionend` or `animationend` event listener) and the addition of the `md-leave` class to the (clone of the) content, to ensure that the listener actually gets triggered.  Firefox sometimes seems to skip it otherwise - resulting in an invisible copy of the dropdown remaining in place on top of other content, preventing interaction with anything under it.

Fixes adopted-ember-addons#1359
@netlify

netlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

Deploy Preview for ember-paper ready!

Name Link
🔨 Latest commit a060ffe
🔍 Latest deploy log https://app.netlify.com/projects/ember-paper/deploys/6a696a1a6c863100087f2079
😎 Deploy Preview https://deploy-preview-1360--ember-paper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PaperMenu content sometimes remains in dom, fully transparent

2 participants