Sortable: [bug] Clone is transparent

Created on 19 Aug 2020  路  1Comment  路  Source: SortableJS/Sortable

Describe the bug
There are tons of duplicates of this, dating from at least 6 years ago: the "dragging" element looks transparent in Windows. It's been stated many times how to fix/work around this, especially in the following issue:

https://github.com/SortableJS/Sortable/issues/146

I know one can't demand anything on an open source project, but this is the most popular drag-and-drop library, why haven't you fixed this yet? Is there any non-obvious way of removing transparency using the current library?

windows question duplicate cannot-reproduce

Most helpful comment

Transparency is implemented by HTML5 DnD, there's no _straight forward_ way to override it, so it's not really something you can "fix". Add forceFallback: true to your options, then add .sortable-fallback { opacity: 1 !important } in your css and you'll get control over opacity.

>All comments

Transparency is implemented by HTML5 DnD, there's no _straight forward_ way to override it, so it's not really something you can "fix". Add forceFallback: true to your options, then add .sortable-fallback { opacity: 1 !important } in your css and you'll get control over opacity.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garygreen picture garygreen  路  3Comments

benfoster picture benfoster  路  3Comments

Webifi picture Webifi  路  3Comments

PanzerKunst picture PanzerKunst  路  4Comments

chrishaigy picture chrishaigy  路  3Comments