Closed

Description
Subject of the issue
A grid initialised on the DOM left by grid.destroy(false)
doesn't seem to work: widgets are not draggable.
Your environment
- version of gridstack.js 1.1.0
- which browser and its version Chrome Version 80.0.3987.132 (Official Build) (64-bit)
Steps to reproduce
grid = GridStack.init() // works well
grid.destroy(false)
grid = GridStack.init() // widgets are no longer draggable
https://jsfiddle.net/n4f2dpv5/
Expected behaviour
Initialising a new grid (GridStack.init()
) on the DOM of the destroyed one (grid.destroy(false)
) should work the same way as initialising a "fresh" grid.