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

Do not close parent popover when shadowed nested popover is opened #190

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

jgerigmeyer
Copy link
Member

See new "Toggle menu with shadowed nested popover" button with nested "Toggle inner shadowed popover" button.

Before: clicking "Toggle inner shadowed popover" closes both popovers
After: clicking "Toggle inner shadowed popover" opens inner nested popover

Fixes #183

@jgerigmeyer jgerigmeyer requested a review from keithamus as a code owner March 22, 2024 21:26
Copy link

netlify bot commented Mar 22, 2024

Deploy Preview for popover-polyfill ready!

Name Link
🔨 Latest commit 07bd18d
🔍 Latest deploy log https://app.netlify.com/sites/popover-polyfill/deploys/65fdf77c9c36c30008955d49
😎 Deploy Preview https://deploy-preview-190--popover-polyfill.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 site configuration.

@jgerigmeyer
Copy link
Member Author

@keithamus Does this seem like an okay solution to #183?

Copy link
Collaborator

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

Yeah, nice!

@jgerigmeyer jgerigmeyer merged commit a46951d into main Mar 27, 2024
7 checks passed
@jgerigmeyer jgerigmeyer deleted the hotfix-nested-shadowed-popover branch March 27, 2024 14:49
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.

Polyfill is broken when used with nested popovers and inside shadow DOM
2 participants