Drag to reposition and Drag/Drop callbacks at the same time

Is there a simple way to make the “Drag to reposition” feature of a panel work at the same time as the “Drag/Drop” system (callbacks)?

When I enable the drag to reposition the callbacks are not called. I guess because the reposition system is consuming/intercepting the drag event or something like that. Or maybe they are completely different systems and the reposition doesn’t use and doesn’t trigger drag events at all. Couldn’t find an explanation on how the reposition feature works on the wiki

Sample project: https://drive.google.com/file/d/1axK8GOud-UKO_EMtgNIphPOnvr1Ilf46/view

Hi @benjavides

yes, those two features are currently separate and there is no way to combine them.

For drag and drop with panel components, an approach can be to have a “ghost” component which you attach onto your mouse cursor instead of actually dragging the real COMP.

cheers
Markus

1 Like