Skip to content

Overlapping widgets after dragging #766

Closed

Description

@athamsnajeeb1

The initial code is
var options = {
cellHeight: cellHeight,
disableResize: true,
disableDrag: false,
handle: '.ibox-title',
float : false ,

        };
        $('.grid-stack').gridstack(options);

And every grid-stack-item have settings data-gs-auto-position="1"

when it dragging sometimes it comes over other widgets

Can anyone help to solve this.

Activity

  1. radiolips commented on Sep 7, 2017

    @radiolips
    Member

    Hey, @athamsnajeeb1 ! Hope you're doing well today.

    Could you provide a jsfiddle or some other method for us to take a look at your code and whatever issue you're experiencing?

  2. erkather commented on Sep 13, 2017

    @erkather

    Hi @radiolips ,
    I am also running into the same issue. I have created a jsfiddle where you can reproduce this issue.

    Steps to reproduce:

    1. Drag "Widget 3" a few inches left side.
    2. Now "Widget 12" will be overlapped on "widget 1" and also few widgets will not be displayed. They are also displayed behind "Widget 12" similar to "Widget 1".

    Thanks in Advance.

  3. brendonboshell commented on Sep 15, 2017

    @brendonboshell

    It looks like this issue is resolved on the develop branch, so I assume it will come with the next release. In the meantime, you can cherry pick a38d78e on top of v0.3.0. This patch solved the problem for us.

  4. emonnet commented on Sep 15, 2017

    @emonnet

    Just tried it and it solved the exact problem described by @erkather . I'm using the 0.3.0 release. Thanks !

  5. radiolips commented on Sep 15, 2017

    @radiolips
    Member

    Great! I'll close this issue, but @athamsnajeeb1 please reopen it if this doesn't solve the original problem.

  6. erkather commented on Sep 18, 2017

    @erkather

    Thanks @brendonboshell . The version you have mentioned solved the issue.

  7. athamsnajeeb1 commented on Sep 25, 2017

    @athamsnajeeb1
    Author

    thanks mate @erkather to help me by providing a jsfiddle, and Thanks @brendonboshell for helping to solved the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions