-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hide URL bar does not work with TouchScroll demo #5
Comments
Hey rsaccon. I think hiding the scrollbar is out of the scope of the demo. The purpose is to show the scroller and how to do a layout using |
Of course there is no need to hide the scrollbar specific for this demo. However the question is why does the standard approach for hiding iPhone URL bar NOT work here ? |
Ok, now I understand better. Just how you assumed, there is no explicit height. I used |
I tried with: body { margin-bottom: 60px }, now UrlBar hides, but .scroller does not resize to increased height, seems to be tricky to get it right ... |
I’ll have a look at it, because I think I will need this myself one day … |
Yeah, I'm running into the same thing. We'll let you guys know if we find a solution |
Cool, thank you. I’ll solve the other issues popping up here first. |
I have tried to add URL Bar hiding at load on orientation change events. But it does not work. I did not find hard-coded "height" dimensions as possible reasons. The approach choosen to hide the URL bar is a delayed window.scrollTo :
setTimeout(function() { window.scrollTo(0, 1); }, 100);
The text was updated successfully, but these errors were encountered: