简体   繁体   中英

jQuery Mobile Beta 1 now shows the page as a normal website in mobile browsers?

I have today updated to jQuery Mobile Beta 1 and now in my mobile (Android) and even some iPhone i tested on the page is shows like in my desktop browser = need to zoom to read stuff.

I can not find that they changed anything about how it works with that?

Its worked fine in latest alpha before i updated.

jQuery Mobile is not inserting the meta viewport tags by default anymore. you have to insert it yourself.

See: Dynamic injected viewport meta tag: Support dropped in the release notes

作为后续操作,需要插入的meta标签是:

<meta name="viewport" content="width=device-width, initial-scale=1">

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM