rozek / svelte-drag-and-drop-actions

HTML5 Drag-and-Drop implemented as Svelte actions
MIT License
29 stars 2 forks source link

Dynamic Extras #4

Open adamnyberg opened 1 year ago

adamnyberg commented 1 year ago

Hi,

I think I have found a bug, or it's just me not understanding Svelte 😬

I'm trying to create a list where the items are both droppable and drop zone. When dropping, the items get reordered in the list. Unfortunately, this doesn't update the Extras injected into use:asDroppable. I made a full example of my problem in a svelte repl. Just let me know if the problem is unclear. 🙏🏻

rozek commented 9 months ago

have you tried my svelte-sortable-flat-list-view?