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

feat: add non-draggable drawer functionality #64

Merged
merged 2 commits into from
Mar 12, 2024
Merged

feat: add non-draggable drawer functionality #64

merged 2 commits into from
Mar 12, 2024

Conversation

shyakadavis
Copy link
Sponsor Contributor

Fixes: #63

When interacting with an element with this data attribute, [data-vaul-no-drag], the drawer won't be dragged.

Notes

  • Didn't add a stackblitz example to the list; I'm guessing they're all from your account, and you would like to keep it that way @huntabyte? Leaving that you if that's the case.

Copy link

changeset-bot bot commented Mar 7, 2024

🦋 Changeset detected

Latest commit: e3eb1e7

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 Minor

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

Copy link

vercel bot commented Mar 7, 2024

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 Mar 7, 2024 5:40pm

Copy link
Owner

@huntabyte huntabyte left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Owner

@huntabyte huntabyte left a comment

Choose a reason for hiding this comment

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

Thank you!

@huntabyte huntabyte merged commit 9afbaa5 into huntabyte:main Mar 12, 2024
5 checks passed
@github-actions github-actions bot mentioned this pull request Mar 12, 2024
@shyakadavis shyakadavis deleted the feat/no-drag branch March 12, 2024 19:35
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.

Support [data-vaul-no-drag] to prevent dragging on specific elements
2 participants