Copy link to clipboard
Copied
Hello!
I have a drag and drop where each drag object is in a specific 'tab' and is only visible when the user clicks on that tab. All items go to the same drop target, but only one can be in the drop target at a time. Once an item is in the drop target, it stays visible even when switching to other tabs. Everything functions how I would expect, except when I drag a second item into the drop target. The first target goes back to it's starting position, but it stays visible. It appears as though the animation sending the target back to it's starting point overrides my advanced action to hide it. Does anyone know a way to stop the animation or have my advanced action override it?
Thanks!
-Amelia
Copy link to clipboard
Copied
Amelia I had a wry laugh when I saw your post. I think you have stumbled across a bug in the way Captivate implements drag and drop. In certain circumstances it creates a duplicate of the dragged object, and there's really no way to do much with that duplicate.
When Tristan the Widget King was first creating the two Drag and Drop widgets for Infosemantics, this particular bug was one of the most challenging things he had to overcome. In fact he was never able to completely get rid of hit. So what he did was move the unwanted duplicates about 1000 pixels off stage so that they were never seen by the user.
You have my sympathy. It sounds like you are ALMOST able to create exactly what you wanted except for this issue. If indeed you HAVE run into the drag duplicate bug, then I know of no way to address it other than with some REALLY complex programming code. Advanced Actions aren't like to be able to touch it because you won't be able to get an Object Name reference to this duplicate.
Copy link to clipboard
Copied
Ahh, shucks! I suppose I'll just have to rework the slide to avoid the bug. Thanks for getting back so quickly, I appreciate it!