-
All-in-one prototyping tool
-
Design hi-fi prototypes for web & mobile apps
-
Share and get feedback
-
UX platform for all your teams
Dragging object inside a dynamic panel prevents the object from hiding when switching active panel
Solved
Hi there,
I have a dynamic panel with two layers. Each layer contains a button to switch to the other layer.
The first layer also contains a rectangle, which can be dragged (using "on Drag", "Move", and "With cursor).
Switching layers works fine, but just until you drag the rectangle. Once the rectangle has been dragged, the rectangle does not disappear when switching to the second layer. It always stays on the screen.
Seems to be a bug?
Thanks,
Dominik
Hi again,
I think I figured it out: apparently, the dragged component gets detached from it its container (which makes sense, but is not obvious at first). Therefore, it needs to be re-inserted once the drag is complete.
Simply adding a "Insert into" action on "Drag End" solves this :)!
Dominik
You are right!
Best,
Sonia Durán
Comments have been locked on this page!