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

Can't disable drag and drop on mobile browsers #586

Open
nahuel1989 opened this issue Oct 18, 2016 · 2 comments
Open

Can't disable drag and drop on mobile browsers #586

nahuel1989 opened this issue Oct 18, 2016 · 2 comments

Comments

@nahuel1989
Copy link

Hi, I'm initializing the object with the following code:

gridster = $(".gridster ul").gridster({ widget_base_dimensions: ['auto', base], autogenerate_stylesheet: true, min_cols: 3, max_cols: 3, extra_cols:0, extra_rows:0, widget_margins: [5, 5], avoid_overlapped_widgets: false, resize: { enabled: false } }).data('gridster').disable(); $('.gridster ul').css({'padding': '0'});

But i'm still can drag and drop widgets on mobile browser (Tested on samsung device with default and chrome browser).

Any idea?

@eldyvoon
Copy link

eldyvoon commented Dec 16, 2016

You can try setting this

draggable: {ignore_dragging: true},

@Cherie-S
Copy link

Cherie-S commented Nov 7, 2018

It did works. Thanks! @eldyvoon

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

3 participants