Skip to content
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

Bug - Non-Movable/Resizable items should be locked in place #19

Closed
ishields opened this issue Dec 4, 2014 · 3 comments
Closed

Bug - Non-Movable/Resizable items should be locked in place #19

ishields opened this issue Dec 4, 2014 · 3 comments
Milestone

Comments

@ishields
Copy link

ishields commented Dec 4, 2014

When an item is made "non-movable" & "non-resizable", it should be fixed in place. It seems however that dragging other widgets near it can push the non-movable item out of it's current position. The position of non-movable item should not be considered as a possible new location for the item being dragged.

@troolee troolee added this to the 0.2.1 milestone Dec 4, 2014
@troolee
Copy link
Member

troolee commented Dec 4, 2014

I will add another option for this case. I think it's not a good idea to use current movable/resizable options. Also I think it should only work for floating grid.

@ishields
Copy link
Author

ishields commented Dec 4, 2014

Definitely makes sense to make it it's own option. I think there still may be a use case for having it work with non-floating. With non-floating everything gets pushed up, as high as it can go. This may be the typical desired behavior (so a user would opt for non-floating mode), but there may be a couple of elements you want to lock, and not have pushed up. Not sure though.

@troolee
Copy link
Member

troolee commented Dec 6, 2014

It's done. See data-gs-locked attribute and locked API method

@troolee troolee closed this as completed Dec 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants