Forum Discussion

cerikLisans20's avatar
cerikLisans20
Community Member
5 months ago

Drag and Drop / If not dragged state normal

Hi, I have a 7 drag items and 6 drop target. When user click the submit button, drag items get incorrect state even if they don't drag. I want,  if user don't drag any item, items still be in normal state. I don't want them change their stage drop incorrect.  Is it possible? 

You can see the point from png. If drop correct color is green, if drop incorrect color is red. If it is not dragged, it becomes also red. I don't want the colors to change.

Thanks for help. 

  • If you are using the built-in drag and drop, and have assigned a correct target to an object, then if it is not dragged to that target, it is incorrect position whether it has been dragged or not. Unfortunately, you cannot set the state change behavior for individual objects, unless you create a custom interaction. If you write all the triggers, you can probably do as you wish.