SortableJS / Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
https://sortablejs.github.io/Sortable/
MIT License
29.78k stars 3.7k forks source link

how can i overwrite default drag styles #2270

Closed wuxt-dev closed 1 year ago

wuxt-dev commented 1 year ago

Custom I have already tried "dragClass", but there's still a default linear-gradient style that I can't overwrite.

current drag style: image what I'm looking for: image

Reproduction codesandbox: <your_url_here>

owen-m1 commented 1 year ago

Use forceFallback: true in the options, the gradient is added by the browser's drag and drop