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
{{ message }}
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
If you resize an item such that it causes multiple collisions, the order of the widgets returned by the collision detection keeps reversing. In the example plunk, if you click makeBig on item 1, then items 2,3,4 get reordered as 4,3,2.
Suggest revising _getCollisions() to return
returns.reverse()
instead of
returns
The text was updated successfully, but these errors were encountered:
Also, in the same plunk, if you just drag item 1 to the right a little, and release, it will reorder 2,3,1,4 even though there should not have been any collisions detected.
We are also experiencing this and its preventing us to do a release atm. I will have a look if I can find the reason, but I can already say that returns.reverse() wont fix the issue. It works if there is only 1 column, but already with 2 columns it won't help and it almost seems like the items are getting randomly moved. In our application it works for some reason if I change the getCollisions to always return empty array. So there is definitely something wrong.
https://plnkr.co/edit/ou5UhYLKJUQ8d5M0ju27?p=info
If you resize an item such that it causes multiple collisions, the order of the widgets returned by the collision detection keeps reversing. In the example plunk, if you click makeBig on item 1, then items 2,3,4 get reordered as 4,3,2.
Suggest revising _getCollisions() to return
returns.reverse()
instead of
returns
The text was updated successfully, but these errors were encountered: