Subject of the issue
As title, after I calling grid.removeWidget(el) the resize handler in the .grid-stack-item of all .grid-stack-item (at least in the same grid-stack) become no longer visible. But this issue not always happens on grid.removeWidget(el) call. Here I test three conditions:
- The mouse in the to-be-removed
.grid-stack-item or its children elements when grid.removeWidget(el) called
--> issue happened
- The mouse in the other
.grid-stack-item when grid.removeWidget(el) called
--> normal
- The mouse not in any
.grid-stack-item when grid.removeWidget(el) called
--> normal
I check elements and event listeners before/after issue happened
- class
ui-resizable-autohide in the .grid-stack-item elements cannot be removed when mouse in the element
- the
.ui-resizable-handle element still exists
- no event listeners are removed
Your environment
- gridstack == 6.0.1
- Google Chrome 103.0.5060.53
- OS: both windows 10 / ubuntu 18.04
Steps to reproduce
- Open official demo page column() grid demo (fix cellHeight)
- click
x on any block
Expected behavior
resize handler shown
Actual behavior
resize handler not shown
Subject of the issue
As title, after I calling
grid.removeWidget(el)the resize handler in the.grid-stack-itemof all.grid-stack-item(at least in the same grid-stack) become no longer visible. But this issue not always happens ongrid.removeWidget(el)call. Here I test three conditions:.grid-stack-itemor its children elements when grid.removeWidget(el) called--> issue happened
.grid-stack-itemwhengrid.removeWidget(el)called--> normal
.grid-stack-itemwhengrid.removeWidget(el)called--> normal
I check elements and event listeners before/after issue happened
ui-resizable-autohidein the.grid-stack-itemelements cannot be removed when mouse in the element.ui-resizable-handleelement still existsYour environment
Steps to reproduce
xon any blockExpected behavior
resize handler shown
Actual behavior
resize handler not shown