Custom drag and drop - return item to start not working
Apr 15, 2015
I've created a freeform drag and drop which I'm having trouble getting the "spring back" function to work. I want incorrect drag itemsto return to their original position if they are dropped onto the wrong drop target. I have 17 drag items and two drop targets. Each drag item is assigned to only one of the two targets. Here are some of my settings:
- return item to start point if dropped outside a correct drop target (all other boxes in the options popup are unchecked (SL2)).
- feedback by question
- no shuffle
- no results slide
- score by question
- unlimited attempts
I do have triggers assigned to each drag item: "show layer foo, when user drops a shape on foobar" (there are 17 different feedback layers) and "change state of foo to hidden when user drops a shape on foobar" (wanting the drag item to disappear from view once the user drops it onto the correct drop target). One of the drop targets is off the canvas so half of the drag items are assigned to it as correct. That means that half of the drag items should not stick to the incorrect drop target. But they do.
I did a pretty thorough search for a solution to this and couldn't find one. I did find this (https://community.articulate.com/discussions/articulate-storyline/freeform-drag-drop-drag-items-do-not-snap-back) which made me think that part of my problem might be that I added a trigger to a drag item. If that is the problem then how can I work around this?