cuire / svelte-grid-extended

A draggable and resizable grid layout, for Svelte
https://svelte-grid-extended.vercel.app
MIT License
74 stars 8 forks source link

Add compress prop (collision) #35

Closed fabiot21 closed 1 year ago

fabiot21 commented 1 year ago

Added compress prop (ref #32) and logic to handle if grid should vertical compress or not when collision is active. If collision = true and compress = false then:

Additionally, a bug has been fixed where the previewItem of items, which had previously collided and been moved, was not updating correctly. This issue occasionally caused certain items to unexpectedly jump to a different position when clicked.

fabiot21 commented 1 year ago

@cuire anything else i should add to merge this?

cuire commented 1 year ago

@cuire anything else i should add to merge this?

Thank you for amazing work. Everything is fantastic. Ill merge it in a few hours.