Skip to content

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

Closed

Description

@ishields

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.

Activity

  1. added this to the 0.2.1 milestone on Dec 4, 2014
  2. troolee commented on Dec 4, 2014

    @troolee
    Member

    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.

  3. ishields commented on Dec 4, 2014

    @ishields
    Author

    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.

  4. troolee commented on Dec 6, 2014

    @troolee
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions