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
I've got nested draggable elements that sometimes stop being draggable.
There is an array of groups, those groups can be reordered.
Within each group there is an array of members, which can be reordered or moved between groups. The app is in vue, it syncs with firestore via a pinia store.
My app is using 0.3.1 because a few things stopped working when I tried to upgrade so I had to roll back.
It mostly works but sometimes it just stops.
• Drag Joe from group 2 to group 4 - works
• Drag James from Group 3 to group 4 - works
• Now all elements in group 4 are no longer draggable
• Drag group 4 above group 3 and they work again
Similarly if you empty group 2, groups 3 & 4 are no longer draggable. Drag group 2 below groups 3 & 4 or drag something from group 1 into group 2 and everything works again.
Empty arrays isn't the only thing that seems to break it but the above is repeatable so I wonder if it would solve my other upgrade & intermittent issues.
The text was updated successfully, but these errors were encountered:
Issue
I've got nested draggable elements that sometimes stop being draggable.
There is an array of groups, those groups can be reordered.
Within each group there is an array of members, which can be reordered or moved between groups. The app is in vue, it syncs with firestore via a pinia store.
My app is using 0.3.1 because a few things stopped working when I tried to upgrade so I had to roll back.
It mostly works but sometimes it just stops.
A repeatable reproduction using
v0.3.3
here: https://codesandbox.io/p/devbox/dnd-nested-v0-3-3-f2wkj5This seems to reliably break draggable elements that are in a group after a group thats an empty array.
Setup
Since this is shared live data from firestore, if it doesn't look like below you can reset the state with the Reset Firestore button
Steps to Reproduce
• Drag
Joe
fromgroup 2
togroup 4
- works• Drag
James
fromGroup 3
togroup 4
- works• Now all elements in group 4 are no longer draggable
• Drag
group 4
abovegroup 3
and they work againSimilarly if you empty
group 2
, groups 3 & 4 are no longer draggable. Draggroup 2
below groups 3 & 4 or drag something fromgroup 1
intogroup 2
and everything works again.Empty arrays isn't the only thing that seems to break it but the above is repeatable so I wonder if it would solve my other upgrade & intermittent issues.
The text was updated successfully, but these errors were encountered: