-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
-
Im currently evaluating drag drop demo for re-ordering selected items as shown here :
https://selectize.dev/plugins/2020/01/01/drag-drop/
Would it be possible to drop jquery-ui and use a more lightwight library like sortable js for the reordering of selected items ?
Jquery-ui is quite a big file and Im looking to make it more lightweight in terms of file size.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 3 replies
-
Certainly open to the idea, and would welcome a pull request.
The big issues we would need to consider are not breaking existing users.
Ideally, this would involve a plugin for each, and the implementing users would be able to select which (if any) plugin to use during config
Beta Was this translation helpful? Give feedback.
All reactions
-
Tom Select is a fork of Selectize without jQuery.
You can use it: https://tom-select.js.org/plugins/drag-drop/
Beta Was this translation helpful? Give feedback.
All reactions
-
Hm tom-select don't use jquery but this plugin use it :)
Beta Was this translation helpful? Give feedback.
All reactions
-
This plugin exists without jquery for tom-select: https://tom-select.js.org/plugins/drag-drop/
Beta Was this translation helpful? Give feedback.
All reactions
-
i would insist, plugin required jQuery and jQueryUI
Beta Was this translation helpful? Give feedback.