Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
How to hide address bar in mobile browsers (onsen ui Vue.js)?
-
Hey,
I am trying to make the address line disappear like in Facebook mobile after scrolling on iOS and android but has no success.Iv’e tried this stack-overflow answers :
https://stackoverflow.com/questions/24889100/ios-8-removed-minimal-ui-viewport-property-are-there-other-soft-fullscreen
https://stackoverflow.com/questions/9678194/cross-platform-method-for-removing-the-address-bar-in-a-mobile-web-appis there any suggestions ?
-
This is an annoying iOS feature that can be difficult to avoid with Onsen UI, since we don’t scroll the main body. Unfortunately I don’t have any suggestions on how to prevent this apart from variations on the solutions you have already linked. Perhaps you could encourage your users to add it to their home screen, when you can then remove the address bar. Our PWA guide could help you get started.