solid-dnd
solid-dnd copied to clipboard
Conditional draggable
Can we have a way to conditionally drag element with a signal ?
Do you mean that dragStart is only called when some signal is active?
Today that should be possible (but clunky) by implementing a custom sensor in place of the default one.
Alternatively you could have a custom transformer that nullifies the move altogether (the drag is active but nothing visually happens).