-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
gridstack widgets have a different order in mobile versus browser mobile view #1653
Comments
I think this got fixed by #1617 - please wait for next release v4 and re-open if still an issue. |
While this was fixed for general cases, it wasn't working for my particular situation. Posting this to hopefully save someone else some time. I'm using a somewhat hacky setup where I load existing grid items in by adding ( Fake-it-till-you-make-it
|
@mvaessen no the problem is that you need to call batch() around if you are going to call a bunch of addWidget() instead, otherwise float=false will move afetr each add instead of loading them all at once, and doing at the end (what youa re doing with float=false at the end. Anyway, can you post a bug sample like #1617 did so we can fix it the proper way ? no reason to 'hack' it around... |
Subject of the issue
gridstack widgets have a different order in mobile versus browser mobile view
Your environment
Steps to reproduce
MUST provide a working demo (keep it simple!) and steps, you can use this as a base:
https://jsfiddle.net/adumesny/jqhkry7g
Expected behavior
I want the same order which I see in my browser's mobile view to be on my actual phone. i don't understand why are they showing different orders.
Actual behavior
my problem: I have multiple widgets on my dashboard. when I access "mobile view" in "web browser", the order of widgets is the same as of browser order. But, when I actually open the website on my mobile phone the order is quite different from the mobile view in the browser.
The text was updated successfully, but these errors were encountered: