onEnd() not called when item dropped to a different spot #2126
Unanswered
Blackbaud-JasonBodnar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've been using sortablejs (and ng-sortablejs) for several years without problem. Recently, when an item is dragged to a new position our
onEnd
callback is not getting called. If I start to drag the item but drop it in its current positiononEnd
is called.We're using sortablejs-1.14.0 and ngx-sortablejs-3.1.4. (I tried ngx-sortablejs-11.1.0 but it didn't fix things.)
Our options look like:
Do I need to tinker with a threshold setting? Why would it suddenly stop working? I've tested on Chrome, FF and Opera.
After setting some breakpoints, it seems that
Sortable.active
is null when I move the item to another position. If I start to drag it but leave it in its existing positionSortable.active
is defined. This preventing the end event from being sent:Why would this start happening?
Beta Was this translation helpful? Give feedback.
All reactions