Forum Discussion
Drag and Drop retain normal state if not dropped
I have my D/D set to return the item to to start point if dropped outside "any drop target" however, I need it to retain it's normal state so that it can still be seen.
e.g., the normal state is blue text on a white background, but the text changes white when dropped on the Correct and Incorrect drop zones that have a blue background. If they just hover over one of the zones but don't actually drop the item, it comes back to it's original start point, but is now white text on a white background.
Thanks for any suggestions.
1 Reply
Without seeing the slide it's a bit tricky to give specifics. But the best place to look is at the triggering and when/why a state changes.
- the pre-built states like hover and visited don't require triggers to change the state
- otherwise there's a trigger requirement to change from normal to X
I'd look at when the state changes when doing the drag because if the state changes it will remain that way unless there's a trigger to change back to normal