-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onMove
incompatible with SortableJs
#90
Comments
I am willing to submit a pr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
emit('onMove')
does not have the desirable effectIn SortableJs, you are able to cancel a move by returning a value from
onMove()
call. However, because of the way the code is implemented right now, this functionality is completely disabled.sortablejs-vue3/src/components/Sortable.vue
Lines 91 to 116 in 201bff6
Related issue vuejs/core#8865
The reason is because
emit()
does not return the value from the handler.Here are some proposals
SortableOption
instead of always overwriting themThe text was updated successfully, but these errors were encountered: