Skip to content

Hide browser adressbar and menu on mobile #6637

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

Closed
mackelito opened this issue Aug 25, 2017 · 5 comments
Closed

Hide browser adressbar and menu on mobile #6637

mackelito opened this issue Aug 25, 2017 · 5 comments

Comments

@mackelito
Copy link

mackelito commented Aug 25, 2017

Bug, feature request, or proposal:

Not sure..

What is the expected behavior?

When scrolling a page the menu and adressbar should hide/minimize

What is the current behavior?

It stays the same when scrolling

What are the steps to reproduce?

Pick you fave browser (on mobile) and go to https://material.angular.io/components
Start scrolling down and you´ll see that the bar does not change.

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

@willshowell
Copy link
Contributor

I think this is because scrolling is done inside the mat-sidenav-content which the browser doesn't recognize as "scrolling the page" when it's absolutely positioned. See #1179

@mackelito
Copy link
Author

Yes that was my idea as well... and we also have our menu above the mat-sidenav-content.. any ideas on how to solve it?

@josephperrott
Copy link
Member

This should be resolved with #6712

@mackelito
Copy link
Author

So this seems to still be an issue..
This ticket is about when scrolling a page.. hiding the native browser adressbar.
PR #6712 is about having a fixed sidenav..

Could we please reopen this?

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
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

3 participants