Open nahuel1989 opened 7 years ago
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?
You can try setting this
draggable: {ignore_dragging: true},
It did works. Thanks! @eldyvoon
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?