How to block drag completely? I know that there is data-vaul-no-drag, but this does not solve the problem. I need to pass this data to almost every element to block dragging. It is very tough task to pass that data to very large and nested components. At any time, someone can mistakenly add something new to the drawer and will be able to use the drag function.
There should be a prop disableDrag, which completely blocks the drag function.
Or am i missing something?
How to block drag completely? I know that there is data-vaul-no-drag, but this does not solve the problem. I need to pass this data to almost every element to block dragging. It is very tough task to pass that data to very large and nested components. At any time, someone can mistakenly add something new to the drawer and will be able to use the drag function.
There should be a prop disableDrag, which completely blocks the drag function. Or am i missing something?