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

JQUERY Gridster Widgets Overlap Issue #603

Open
ankithvicky opened this issue Nov 22, 2018 · 0 comments
Open

JQUERY Gridster Widgets Overlap Issue #603

ankithvicky opened this issue Nov 22, 2018 · 0 comments

Comments

@ankithvicky
Copy link

I am using Gridster v0.7.0, Recently I am facing one problem that while dragging the widgets the dragged widget gets overlapped on the widget that exists on that co-ordinates.

Below I have attached the GIF for better understanding.

Gridster Overlapping GIF :

https://i.imgur.com/QB31e2s.gif
https://i.postimg.cc/KzT4m9Sh/grid.gif
Adding the code for creating Gridster.

gridster = $("#GDashboard ul").gridster({
        namespace: '#GDashboard',
        widget_margins: [10, 10],
        widget_base_dimensions: [270, 126],
        max_cols: 4,
        extra_rows:15,
        avoid_overlapped_widgets: true,
        serialize_params: function ($w, wgd) {
            return {
                id: $w.attr('id'),
                col: wgd.col,
                row: wgd.row,
                size_x: wgd.size_x,
                size_y: wgd.size_y
            };
        }
    }).data('gridster');
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

1 participant