Forum Discussion
Drag and drop resetted but I have some problem.
I have a drag and drop interaction and I add animation path 0 xy position each drag box. once i droped all boxes incorrect or correct then click submit button its going to tryagain slide layer. I write the trigger in tryagain slide layer, when timeline starts 0.1 second move path animation same place in drag box and its resetted, its working fine but again i dropover the dropbox some drag box is automatically going to set like 1st attempt. Please help me out of this and i atteched sl file.
Hello Nagendiran! ✨
I'm happy to share that we have released a new update for Storyline 360 (Build 3.76.30446.0).
In this update, we have implemented a fix for:
- Drag-and-drop interactions behaved erratically after multiple attempts.
As a first step, I recommend updating Storyline 360 to the latest version. Here's how:
If you have any questions, please let us know in this thread or privately in a support case.
Have a great day!
- MariaCSStaff
Hi, Nagendiran.
Thank you for sharing your .story file!
If you take a look at your Slide Properties (right-click the base layer and select Properties), you'll see the When Revisiting option is set to Reset to initial state, which is why it always acts as the first attempt:
Changing that option to Resume saved state should fix the issue.
Let me know if that works!
- nagendiranma894Community Member
- Hi Maria Thanks for your support. Now i checked as your suggestion but it didn't work so far. Have any other option please share me and I attached the video please check.
- MariaCSStaff
Hi, Nagendiran.
Thank you for sharing the screen recording!
What you're encountering now is a possible bug we've logged where drag items in drag and drop interaction act erratically in succeeding attempts if the drag items have motion path.
This bug doesn't happen when using the options Free or Snap to Center under Drop Target Options:
Take a look at the screen recording below:
I hope this helps!
- nagendiranma894Community Member
This is Great Maria thanks for sharing and one more doubt in this drag and drop could you please clarify this .Once all drag is droped, the submit button is enabled state and I overlap 2nd drag into 1st drop the 1 drag is jump into earlier place. Once the activity is completed I need submit button is disabled state please help me out of this.
- MariaCSStaff
Hi, Nagendiran.
If I understand your question correctly, you want the submit button to start disabled and be enabled once all the objects have been dropped (in any location).
The triggers you initially set that turned the variables True would work in this case. The only adjustment I'd make is to use "when the user drops the object" instead of "when the object intersects":
I'm attaching the edited version. Let me know if this works!
- nagendiranma894Community Member
Hi Maria, Thanks for your support. If what I said once all the objects have been dropped (in any location) the submit button enabled. thats ok. but my question was even client needed the submit button once enabled .(Example, I 2nd drag into 1st droped the 1st drag is droped out in earlier position, so that time I would like to change the submit button disabled state. I attached the video, The video at end time I want to change the submit button disabled state. I hope my question is correct.
- MariaCSStaff
Hi, Nagendiran.
I'm sure there are different ways to achieve what you're looking for, so hopefully, other community members will chime in, but here's my workaround:
- Create a rectangle covering the entire slide.
- Move the rectangle to the bottom of the timeline so it's behind the other objects.
- Add a trigger to change the object's variable to False if the user drops the object on that rectangle.
- Add a trigger to change the Submit button to Disabled if that variable changes with the condition that it's false.
The caveat here is that since your drag and drop is set to Snap to Center, removing an object from a target will place it on the center of the rectangle:
I'm attaching the edited file with the changes to D1. You'll also need to apply the same to the other three objects/variables.
I hope this helps!
- NagendiranmadesCommunity Member
Hi Maria. This is awesome. Thanks for your support.
Hello Nagendiran! ✨
I'm happy to share that we have released a new update for Storyline 360 (Build 3.76.30446.0).
In this update, we have implemented a fix for:
- Drag-and-drop interactions behaved erratically after multiple attempts.
As a first step, I recommend updating Storyline 360 to the latest version. Here's how:
If you have any questions, please let us know in this thread or privately in a support case.
Have a great day!