Forum Discussion
Delaying item drop states in a Drag & Drop interaction
My interaction consists of 9 rectangle items that each will be dropped on 1 of 2 drop targets. Each rectangle has 3 states: Normal, Drop Correct, and Drop Incorrect. Everything works great when I leave the 'Delay item drop states until interaction is submitted' check box UNCHECKED. However, I would like to delay the state change until the interaction is submitted, but when I check that box, the states no longer change when submit is clicked.
Is there more to this? Do I need to add triggers to make this work properly? It seems like it should be so simple!
Hi Charles!
I'm happy to help! You are correct about the issue stemming from grouping the objects. We currently have this logged as a software bug where the drop states aren't working when using grouped objects with a custom submit button. As a workaround, we suggest either ungrouping the objects or using the Player's submit button and trigger if you're continuing to use grouped objects.
I've linked your comments to our bug report so we can update you if there is a fix released to address this bug. I hope others from the community will share if they've found other workarounds!
- ChristineHendriFormer Staff
Hi Brenda,
Are you using any triggers on the objects that are changing states? If so, the "delay item drop states until interaction is submitted." option works only if you haven't issued object triggers. If you've issued an object trigger to change a state upon drag and drop then it supersedes the delay trigger.
Can you let me know if you have other triggers assigned to the objects?
Thanks!
- BrendaHeilmanCommunity Member
Hi Christine--
There are no other triggers on any of those items. In fact, the only triggers on the entire slide are a back button trigger and a submit interaction trigger, neither of which are on the draggable items or drop targets.
- ChristineHendriFormer Staff
Hi Brenda,
Thank you for the additional information. Does sound strange, then. Any grouping with the rectangles, by any chance?
Thanks!
- BrendaHeilmanCommunity Member
Nope, no groups of any kind on the slide. Weird, huh? So I'm right in thinking I should not need any triggers?
- ChristineHendriFormer Staff
Hi Brenda,
You could certainly try using some triggers, change state when the user clicks submit, etc., but we'd probably want to figure out why it's not working with the way you have it set up. It sounds pretty cut and dry, especially if you don't already have anything else assigned to the objects. If you'd like, we'd be happy to take a closer look at what's happening.
- BrendaHeilmanCommunity Member
Thanks Christine--I've submitted my file.
- ANDREWGARVEYCommunity Member
Hi there,
I have the exact same problem and like Brenda - no groups - object triggers etc. Was a fix discovered for this?
Regards
Andrew
- BrendaHeilmanCommunity Member
Hi Andrew--
As far as I'm aware, the only 'fix' for this is to use the Player's Submit button...that seemed to work for me (usually, I have my own custom buttons). Good luck!
- ANDREWGARVEYCommunity Member
Hi Brenda,
Thanks for the reply. What's frustrating is that it's inconsistent. I have some slides in an interaction where it's working - and others where it's not - and the slides are identical. Not a feature that can be relied on yet without using player navigation.
Cheers
Andrew