vaheqelyan / svelte-grid

A responsive, draggable and resizable grid layout, for Svelte.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue when trying to Remove Grids

AdithyaR-afk opened this issue · comments

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

commented

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

Thanks...that did the trick