简体   繁体   中英

Website HUGE on some mobile browsers

I have this following website: http://woohooo.fortleet.com/

Everything is OK, except the site opens up HUGE on some mobile browsers/devices. This mainly happens on:

  • iPhone 6S (Safari and Messenger)
  • Mozilla on Android (sometimes)

Examples:

在此处输入图片说明 在此处输入图片说明

I have NO IDEA what could cause this. I don't have any scripts handling the height of elements, all sections are set to be 100vh.

Any ideas?

vh is buggy in many mobile browsers, especially in IOS.
There is a js library to fix this: https://github.com/rodneyrehm/viewport-units-buggyfill

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