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

Clicking on slotted element closes the popover #214

Closed
Totati opened this issue Jul 12, 2024 · 1 comment
Closed

Clicking on slotted element closes the popover #214

Totati opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Totati
Copy link
Contributor

Totati commented Jul 12, 2024

Describe the bug
Clicking on a slotted html element closes the popover.

To Reproduce

  1. Go to https://codepen.io/Totati/pen/abgOBPP
  2. Click on "Open popover" button.
  3. Click on the red area. It's the slotted element.

Clicking in the green element does not closes the popover.

Expected behavior
This example works correctly in new browsers, the polyfill should handle this case as well :)

Browsers tested on
Chromium Version 101.0.4949.0 (Developer Build) (64-bit)

@Totati Totati added the bug Something isn't working label Jul 12, 2024
@jgerigmeyer
Copy link
Member

Closed by #215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants