-
-
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
Widget with locked,no-move,no-resize set true is still moved by other widgets #882
Comments
1995navinkumar
changed the title
Widget locked,no-move-no-resize set true is still moved by other widgets
Widget with locked,no-move,no-resize set true is still moved by other widgets
May 11, 2018
radiolips
added a commit
to radiolips/gridstack.js
that referenced
this issue
May 11, 2018
3 tasks
radiolips
added a commit
that referenced
this issue
May 11, 2018
Fix #882, set version at 1.0.0-dev, update demos to use lodash 4.
Fixed in new |
I'm encountering this issue. Setting "yes" on all sibling widgets in dragstart, then setting to "no" in dragstop. It is setting them, however they are not working, they can still be pushed around when dragging the current widget over them... Here is a link to my codepen where I am encountering this issue: https://codepen.io/Souleste/pen/wvvpGbE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subject of the issue
A grid-item supplied with attributes "data-gs-locked=true data-gs-no-move=true data-gs-no-resize=true" is still moved by other widgets when dragged on top of it.
Your environment
Steps to reproduce
Drag the first widget on top of the second widget (locked)
Use this fiddle - https://jsfiddle.net/dqyvh6vr/30/
Expected behaviour
The position of the locked widget should not change . It should be locked
Actual behaviour
Position changes only when other widget is dragged on top of it.
The text was updated successfully, but these errors were encountered: