gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

non Responsive in Mobile

Open robertwong68 opened this issue 9 years ago • 4 comments

I have arranged the item well on PC and I want to keep the same layout when using mobile. Can I may it non-responsive ? Thanks.

robertwong68 avatar Aug 10 '17 02:08 robertwong68

@robertwong68 You can set the disableOneColumnMode to true if you don't want a one column layout. Please visit the dosc before posting an issue.

krilllind avatar Aug 16 '17 10:08 krilllind

When i set one column,the widgets in mobile view will not keep the same order with pc view,and disableOneColumnMode = true,that's ok. why name the feature as "disableOneColumnMode",a little strange @krilllind @radiolips

leapit avatar Oct 13 '17 06:10 leapit

@leapit That's because by default the grid will rearrange the items to flow in one line (or column) so that a user can view all items in an easy way by scrolling down. But if you do not like this behaviour you can choose to set disableOneColumnMode to true and then the items will keep their position.

krilllind avatar Oct 13 '17 07:10 krilllind

@krilllind thanks,got it.

leapit avatar Oct 13 '17 13:10 leapit