fix: ios home screen app height#24435
Conversation
The only acceptable values are `default`, `black`, and `black-translucent`. The `black-translucent` option allows the application to extend under the status bar area.
8f2ed20 to
099c819
Compare
mstahv
left a comment
There was a problem hiding this comment.
👍Looks very good! I'm assuming Jouni did the homework and tested with various versions/environments.
I'm currrently doing effectively same setting for "apple-mobile-web-app-status-bar-style" via weird JS hack as it is basically impossible to override on the server-side. Otherwise my app would simply look bad, now it's beatiful background photo can spread to the whole screen estate.
I don't remember if "lvh" height is in use in any of my apps, but I trust the expertise of Jouni here.
Well, you’re kinda right – I did that, but only after I opened the PR. Setting up a working Android emulator setup took a bit more effort, and I only now got to testing it. And apparently there is an issue. So hold on for a moment before merging. Update: done. |
099c819 to
260591d
Compare
|



Fixes #5576
We can consider adding a feature to the PWA annotation later, if there are requests for that. For now, I assume this fix is enough for the majority of our users.
The bootstrap page update makes sure the app covers the entire viewport height on iOS when opened as a standalone/home screen app.