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
but i still get erratic behaviour, expecially the 'track' in the loop seems to behave differently depending on : 'track v.item?.index' | 'track v.itemId' | 'track v.slotId' | $index. All have in common the fact that at some point the 'onSwap' breaks and starts firing multiple events.
My current angular implementation
swapy.html
swapy.ts
***** If I uncomment this I get the following behaviour:
if i leave it:
I'm pretty sure I'm doing something wrong here, maybe someone could help?
Edit: Managed to get correct Drag and drop behaviour by changing
but i still get erratic behaviour, expecially the 'track' in the loop seems to behave differently depending on : 'track v.item?.index' | 'track v.itemId' | 'track v.slotId' | $index. All have in common the fact that at some point the 'onSwap' breaks and starts firing multiple events.
Stackblitz: https://stackblitz.com/~/github.com/Ookamini95/test-swapy-dynamic
The text was updated successfully, but these errors were encountered: