vaheqelyan / svelte-grid

A responsive, draggable and resizable grid layout, for Svelte. [NOT MAINTAINED]

Home Page:https://svelte-grid.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not modifying tile order when dragging

NCKLS opened this issue · comments

Hello! This package is absolutely fantastic and extremely useful, but I have ran into one problem:
When dragging an item, if you displace another it moves to make room. Say you change your mind and continue dragging away, the item stays displaced. Because of this it's really easy to ruin the grid you've made.

Is there a way to have items resume their previous order if a tile is dragged away from disturbing another item?

Thank you!