Forum Discussion
JenniferMunro-d
3 years agoCommunity Member
Drag and drop
Hi
I have created a drag and drop activity (manually not using the built-in option). Is there a way to prevent move than one item from being dropped on to each spot.
I have 5 items and 5 s...
MathNotermans-9
3 years agoCommunity Member
Your idea works. It does remove the previous dragged item and sets it back to its original position. 'Allow only one item in each drop target' should be read as 'Allow only one item at a time, and snap my previous object back when dragging something else on it'.
So basically it depends on the behaviour the designer/developer wants. If he/she is fine with a selected object jumping back...then 'Allow one item' works fine. If you want to block a selection when dropped on it... ( till some reset ) then it doesnot work and the solution i mentioned earlier works best.