You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code causes wierd behaviour when dragging items. My data functions rely on the section id to be the same as it's position in the array. How can this be solved?
The data updates correctly and if I use my refresh function to get the data from my databse it then renders correctly. I don't undertsand how only updating a value would cause the entire list to get screwed up.
The text was updated successfully, but these errors were encountered:
ethanfox
changed the title
Nested and typed items in complex markup
Recalculating ids in array on finalize causes ui to revert to previous state
Apr 24, 2024
Any chance you make a simple REPL reproducing the issue?
I ended up refactoring my code to work with the ids of the items and sections rather than the index. However, I do have an issue when dragging an item into a section. Sometimes one of the existing items in a section disappears when a new item is dragged in from a different section. Should I mark this as solved and open a new issue?
The following code causes wierd behaviour when dragging items. My data functions rely on the section id to be the same as it's position in the array. How can this be solved?
The data updates correctly and if I use my refresh function to get the data from my databse it then renders correctly. I don't undertsand how only updating a value would cause the entire list to get screwed up.
Area.mp4
The text was updated successfully, but these errors were encountered: