DavidOskorus
9 months agoCommunity Member
Variable reference not working properly
Hello-
I am working on a complex drag and drop interaction that was working properly a week ago, but after updating today (I know, my bad...) it is no longer.
In the interaction, I am building a list of the objects dropped, in the order they are dragged. As mentioned, it worked before the update, but now the second item that I drop does not display in the list. It doesn't matter in what order the items are dropped, it's always the second one.
A little more information:
- The actual interaction spans multiple screens and requires some of the variables and code that might otherwise seem unnecessary. I'm attaching a slightly simpler version that still replicates the issue.
- I had to use javascript to concactenate the list as it builds. The same script (on the master feedback layer) is used after each item is dropped.
- I have added some troubleshooting info into the interaction as well as an alert in the javascript, so you can see variables as they change.
- If you click the continue button and go to the next screen, the reference appears to refresh and the second item appears even though the variable does not change at that point.
- In the actual multi-slide version, the second third and fourth slides build on the same list. They also use the same script, but it's the first item that is dropped (rather than the second) on those slides that does not appear.
Anyone seen anything similar or have suggestions?
Thanks in advance!