You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a popup with a series of full-width slides, one for each day. Each day has a sortable list of cards.
I want to make it so that users can only start dragging and sorting the cards if they long-press on them (meaning they hold their finger down for at least one second).
How can I implement this using solid-dnd? Any suggestions or examples you can provide would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
So the default sensor has a delay but it is not currently customisable. Now there is a use case, I'll look at making that customisable.
In the meantime, you'll need to copy that sensor code into a custom sensor, modify it as you need and register it instead as the sensor you want to use.
I'm building a popup with a series of full-width slides, one for each day. Each day has a sortable list of cards.
I want to make it so that users can only start dragging and sorting the cards if they long-press on them (meaning they hold their finger down for at least one second).
How can I implement this using solid-dnd? Any suggestions or examples you can provide would be greatly appreciated!
The text was updated successfully, but these errors were encountered: