Drag and Drop states

Hi Guys,

 

I am having a problem with a drag and drop I am designing and I am unsure on how to resolve. It is a basic drag and drop with 2 trash cans as the drop zones. I want the trash can lids to open when the items are hovered/dragged over, and then shut when they drop it in, and I have been able to do this no problem. However, I have noticed that if the learner hovers over one bin, then changes their mind and hovers and places in the other bin, the lid of the bin hovered on but not dropped on originally stays open. Is there a way to trigger the lid to be shut (or as its normal state) at every time other than if the items are hovered over the trash can? I hope this isn't too confusing as someone can help.

 

Thanks :)

1 Reply