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
Problem: Clicking an element in a Slip list without delay triggers a 'reorder' event. This happens because there is no detection whether the element actually gets dragged around or if it's released in the same place it was before. This causes some implications:
Triggers unnecessary 'onreorder' based logic (In my case, heavy combination calculations take place when elements are reordered).
Problem: Clicking an element in a Slip list without delay triggers a 'reorder' event. This happens because there is no detection whether the element actually gets dragged around or if it's released in the same place it was before. This causes some implications:
What should happen: clicking raises a click, reorder should only be raised when the element is actually dragged around.
To solve: Some dragging checks before putting Slip into reorder state. My workaround is the following code in the 'undecided' state:
...
I've seen some bugs in this workaround though.
The text was updated successfully, but these errors were encountered: