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

Overlapping widgets after dragging #766

Closed
athamsnajeeb1 opened this issue Sep 7, 2017 · 7 comments
Closed

Overlapping widgets after dragging #766

athamsnajeeb1 opened this issue Sep 7, 2017 · 7 comments

Comments

@athamsnajeeb1
Copy link

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.

@radiolips
Copy link
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?

@erkather
Copy link

erkather commented Sep 13, 2017

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.

@brendonboshell
Copy link

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.

@emonnet
Copy link

emonnet commented Sep 15, 2017

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

@radiolips
Copy link
Member

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

@erkather
Copy link

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

@athamsnajeeb1
Copy link
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
Projects
None yet
Development

No branches or pull requests

5 participants