gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

How to disable widgets automatically moving out of the way during drag?

Open ygalanter opened this issue 8 years ago • 1 comments

Currently if I move a widget on top of another it moves up, down or sideways to make space for the widget I am dragging into that spot (the behavior isn't always consistent).

How do I disable this - if I move widget onto a spot already occupied by another widget - do not allow drop - other widget has to be moved out of the way to make space first.

ygalanter avatar Oct 04 '18 18:10 ygalanter

Never mind, should've RTFM, data-gs-locked attribute does it.

ygalanter avatar Oct 04 '18 18:10 ygalanter