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

Locked widgets are still moveable by other widgets

Open ritox842 opened this issue 6 years ago • 4 comments

Subject of the issue

When setting widgets into a locked mode and adding new widgets above it the widgets are been pushed down including the locked widgets.

Your environment

  • 1.1.0 (was 0.5.3)
  • Chrome 80.0.3987.122

Steps to reproduce

I've added a locked widget. Adding new widgets above it will eventually push the locked widget down. https://jsfiddle.net/ritox/f5w8beyt/7/

Expected behaviour

A locked widget should never move under no circumstances. It should hold it's position and new widgets the collide with it should be put below it

Actual behaviour

New widgets push the locked widget down.

ritox842 avatar Mar 04 '20 09:03 ritox842

thank you for submitting a simple test case. Now we can take a look.

adumesny avatar Mar 04 '20 14:03 adumesny

@adumesny Can you please update about this issue?

ritox842 avatar Mar 16 '20 08:03 ritox842

fixed in next release.

adumesny avatar Mar 16 '20 16:03 adumesny

Thanks ! :)

ritox842 avatar Mar 19 '20 08:03 ritox842