svelte-dnd-action icon indicating copy to clipboard operation
svelte-dnd-action copied to clipboard

Not removing 'data-is-dnd-shadow-item-internal="true"' property so elements get hidden permanently

Open vini-brito opened this issue 6 months ago • 13 comments

Hello! In Svelte 5 I am having an issue where once I release an element, it keeps the HTML property added by the library data-is-dnd-shadow-item-internal="true", which means the "visibility=hidden" CSS property is kept, which means the element is still there, still occupies space but cannot be seen, loses visualization.

In Svelte 4 it works as expected.

Using the migrate script doesn't help.

In the reproducible example below, just drag the elements around and they will lose their visualization but will still exist and can be inspected via regular context click -> Inspect to see that the HTML property is still there.

Reproducible in Svelte 5 preview here

vini-brito avatar Aug 09 '24 05:08 vini-brito