svelte-dnd-action
svelte-dnd-action copied to clipboard
Not removing 'data-is-dnd-shadow-item-internal="true"' property so elements get hidden permanently
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.