solid-dnd icon indicating copy to clipboard operation
solid-dnd copied to clipboard

Conditional draggable

Open chlbri opened this issue 2 months ago • 1 comments

Can we have a way to conditionally drag element with a signal ?

chlbri avatar Nov 21 '25 15:11 chlbri

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).

martinpengellyphillips avatar Nov 24 '25 20:11 martinpengellyphillips