-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Layout can‘t adjust for mobile view in Firefox #2369
Comments
I find it also can be reproduced in Firefox Desktop in Responsive Design Mode. It only occurs in specific status. |
I believe this error belongs to firefox bro. Vuepress is using |
It seems that vuepress remove |
|
I totally agree that Though I'm not a big fun of boilerplates such as https://hsivonen.fi/utf-8-detection/
While I understand that it is far from ideal, please preserve boilerplates in production content. |
Sorry but I'm new to Vuepress and I'm a bit confused here. How can we prevent this behavior? Should I add my own HTML templates? |
Chrome behavior here is not spec compliant. Removing the meta viewport tag should display the desktop site. |
Just a quick mention here, if you wanna have a workaround for now without touching any code in Vuepress, simply add a |
related to the vuepress issue with the mobile layout removing viewport meta tags on firefox for Android. Fix is to explicity define it. vuejs/vuepress#2369
related to the vuepress issue with the mobile layout removing viewport meta tags on firefox for Android. Fix is to explicity define it. vuejs/vuepress#2369 Co-authored-by: Kgothatso Ngako <kpangako@gmail.com>
Bug report
Layout can‘t adjust for mobile view in Android Firefox Preview (org.mozilla.fenix, Version Code: 21082025) and Firefox Desktop. This problem occurs at v1.4.1 and v1.5.0. But at v1.4.0 it didn't exist.
Steps to reproduce
Firefox Preview:
Firefox Desktop:
What is expected?
Layout auto adjust for mobile view.
What is actually happening?
Layout can‘t adjust for mobile view and keep desktop view.
Firefox Preview:
Firefox Desktop (Responsive Design Mode):
In Firefox Desktop(Responsive Design Mode) it has some difference. Change the window size by directly drag the frame, it will normally adjust for mobile view. But if change the window size by change device, problem will occurs again.
References:
The text was updated successfully, but these errors were encountered: