fullPage.js
fullPage.js copied to clipboard
Viewport issue after rotating on iPhone X / 11
The height of Fullpage is wrong after device rotation on Safari on iPhone X / Xs / 11 and similiar
Link to isolated reproduction with no external CSS / JS
It appears to happen everywhere, even the demo: https://alvarotrigo.com/fullPage/
Steps to reproduce it
- Close all the tabs in Safari (it's not happening when there are other tabs open)
- Load the page in portait mode
- Rotate to landscape
- Rotate back to portrait
Versions
iOS / iPhone X,Xs,11, etc. Safari Real devices, Browserstack.
First load:
After 2 rotates:
It appears to happen everywhere, even the demo: https://alvarotrigo.com/fullPage/
The demo page is using fullpage.js 3.0.7. (need to be updated)
Can you reproduce it in any other example such as the following using 3.0.8? https://alvarotrigo.com/fullPage/examples/navigationV.html
I’m positive, it affects 3.0.8 too.
After load:
After rotations:
I'm not able to reproduce it on my iPhone 11 and neither in browserstack.com with real devices. I asume you are using Safari ?
Can you try from another iPhone? What's your model and what OS are you using? I assume it is a real device and not an emulator ?
I've tested it on real iPhone Xs, iOS 13.3, Safari. Unfortunatelly I don't have access to any other iPhone at the moment, can do it in few days.
I noticed today that when testing on Browserstack it's happening on your demo site only sometimes and it seems to be random.
I noticed today that when testing on Browserstack it's happening on your demo site only sometimes and it seems to be random.
Let's ignore the demo site for now, as it is using an older version of fullPage.js.
Has this been fixed in 3.0.9? Could you check this out?
@alvarotrigo not sure if this is on your radar but I can confirm this still happens on 3.1.0 with iphone 6s plus (chrome and safari ) and android (chrome) on the official site https://alvarotrigo.com/fullPage/
if page is loaded in portrait, it looks fine. But as its tiled into landscape the space/gap/viewport sizing issue appears. This happens when going from loading in landscape and tilting to portrait as well.
@mr-moto thanks for the info! I'll check it out when I have some time.
Please feel free to provide a PR if you think you can tackle the issue. It might also be related with https://github.com/alvarotrigo/fullPage.js/issues/4072
I also have this issue on my site hiding fullpage.js on an iPhone 6s, url: mysolarconnector.com
Has it been resolved yet?
I also have this issue on my site hiding fullpage.js on an iPhone 6s, url: mysolarconnector.com
This issue is not about "hiding fullpage.js". It's about a problem when rotating the viewport.
I also have this issue on my site hiding fullpage.js on an iPhone 6s, url: mysolarconnector.com
This issue is not about "hiding fullpage.js". It's about a problem when rotating the viewport.
Sorry that was an autocorrect on my device, I meant to write "using fullpage.js" not "hiding fullpage.js"