Skip to content
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

Support for Sortablejs plugins #38

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gdebrauwer
Copy link
Contributor

Multidrag: 🚫

  • Does not work when the draggable items contain Livewire component(s).
  • Sometimes Sortablejs moves other elements (even from other groups) after finishing dragging a couple of items. Those other elements were not selected to be dragged and should stay in their original position.

Swap: ✅

  • Works correctly, even if the draggable items contain Livewire component(s).

Scroll: 🤔

  • Works correctly but throws uncaught component already registered error when draggable items contain Livewire component(s).

RevertOnSpill: ✅

  • Works correctly, even if the draggable items contain Livewire component(s)

RemoveOnSpill: 🚫

  • Does not work when the draggable items contain Livewire component(s).
    • Livewire throws a Component not found error when the dragged element has been removed from the DOM by Sortablejs.

@gdebrauwer gdebrauwer linked an issue Oct 19, 2023 that may be closed by this pull request
@gdebrauwer gdebrauwer force-pushed the feature/sortablejs-plugins-support branch from 0e14b4e to 3df9cb0 Compare October 26, 2023 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

multiDrag option
1 participant