vaheqelyan / svelte-grid

A responsive, draggable and resizable grid layout, for Svelte.
https://svelte-grid.now.sh/
MIT License
948 stars 57 forks source link

Issue when trying to Remove Grids #88

Closed AdithyaR-afk closed 3 years ago

AdithyaR-afk commented 3 years ago

Issue seen directly on the svelte repl and in the attached source

Please refer to the gif attached. After creating a random sized grid, when trying to close , clicking the close button causes it to select the grid itself. So i have to deselect the grid and only then i am to close it. Also one more issue is neither dragging or closing the button does anything and one has to deselect the grid for it to work properly issue

vaheqelyan commented 3 years ago

Oh yes, I fixed it on www https://svelte-grid.now.sh/examples/add_remove

I think adding the user-select: none property will fix this problem. I've updated the repl

AdithyaR-afk commented 3 years ago

Thanks...that did the trick