huntabyte / vaul-svelte

An unstyled drawer component for Svelte.
https://vaul-svelte.com
MIT License
419 stars 17 forks source link

fix: `closeOnOutsideClick` & `onOutsideClick` behavior #27

Closed neimadt closed 7 months ago

neimadt commented 7 months ago
  1. Modified the onOutsideClick func to cater for closeOnOutsideClick since it isn't passed down to the dialog
  2. Added logic in onOutsideClick tp cater for e.preventDefault() missing logic
changeset-bot[bot] commented 7 months ago

🦋 Changeset detected

Latest commit: e4bd2647f6f04bedac8f29126488a3cae4296d4d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | vaul-svelte | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vaul-svelte ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 13, 2024 3:52pm