Closed arsaizdihar closed 7 months ago
@arsaizdihar is attempting to deploy a commit to the emil Team on Vercel.
A member of the Team first needs to authorize it.
this still not working with Inputs fields
Can someone please provide an example on how to use this attribute
Can someone please provide an example on how to use this attribute
You just need to add attribute data-vaul-no-drag
to any element in the drawer and any drag on that element (and every children of it, recursively) wont move the drawer
Currently,
data-vaul-no-drag
only worked if the dragged element is exactly the element that has the attribute. The expected behavior is it works if any of the parent (usingelement.closest
) has the attribute. Fixes #266