CaptainCodeman / svelte-headlessui

HeadlessUI components for Svelte
https://captaincodeman.github.io/svelte-headlessui/
MIT License
549 stars 25 forks source link

Safari: Modal breaks when clicking outside of modal to close #53

Closed CyberDie22 closed 1 year ago

CyberDie22 commented 1 year ago

After you click outside the modal to close it, the modal no longer appears (the full screen background does, just not the modal) and you cannot close it anymore

Broken in Safari 16.3 This works fine in Firefox 111, Chrome 112, and Edge 111.

Code: The example code for the modal on the docs.

CyberDie22 commented 1 year ago

Link to repo with code that doesn't work: (can't use stackblitz to run in safari) https://github.com/CyberDie22/svelte-headlessui-temp

CaptainCodeman commented 1 year ago

I think this is fixed, feel free to re-open if not.