.sortable-drag class not added to drag image
See original GitHub issueFor my app I want the original element to be visible and hide the drag image. Sortable has a dragClass
option that allows you to style the image, but it appears Vue.Draggable does not support this option, as no class is added to the preview element.
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
jquery UI Sortable adding drag image to the drag item
The class is appending to the dragging item but the image is not applying. Is their a way to do this. jquery ·...
Read more >Bootstrap Drag and drop (draggable & sortable
Drag and Drop plugin built with Bootstrap 5. Draggable list, cards, tables, grid, buttons. Sort, copy, scroll, disable, delay, nested & other options....
Read more >javascript - Drag and Drop Sortable Image Upload System
I am working on web page where I want to use a "drag and drop" image upload system, with options to remove and...
Read more >Drag and Drop in Vanilla JavaScript - Stack Abuse
In this hands on guide - learn how to implement the drag and drop functionality in vanilla JavaScript, as well as the Sortable...
Read more >Lightweight JS Sorting Library with Native HTML5 Drag and ...
How to use it: · 1. Import the SortableJS. import Sortable from 'sortablejs'; // or <script src="Sortable. · 2. Create a list of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, updated as it works. Many thanks David.
I also had to add the !important to the css class property.
@paultechguy In your fiddle you are not using the correct version of sortable, use version 1.7.0 (as in read.me) and it will work