Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

How can I hide the address bar on iPhone/iPad? #16

Open
Candid0 opened this issue Feb 26, 2019 · 1 comment
Open

How can I hide the address bar on iPhone/iPad? #16

Candid0 opened this issue Feb 26, 2019 · 1 comment

Comments

@Candid0
Copy link

Candid0 commented Feb 26, 2019

Hi, address bar doesn't scroll/hide in mobile Safari or Chrome when scrolling.
Is there a solution for this?

@VaibhavAcharya
Copy link

There is a way you could tell Chrome browser to "fake fullscreen" which means it will hide the top bar.
Just add this to your JavaScript :
window.scrollTo(0,1);
Only Problem is that it is not standardized and not well supported.
Here you can find more about it Link.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants