-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locked widgets are still moveable by other widgets #1181
Labels
Comments
thank you for submitting a simple test case. Now we can take a look. |
@adumesny |
adumesny
added a commit
to adumesny/gridstack.js
that referenced
this issue
Mar 16, 2020
* make sure `_fixCollisions()` take node locked state into account * `moveNode()` also checks for locked state, but resize can still happen (forced for column layout change) * added demo and test case showing issue * fix gridstack#1181
3 tasks
fixed in next release. |
Thanks ! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
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.
The text was updated successfully, but these errors were encountered: