Skip to content
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

Header is scrolled when sidenav is opened in "over" mode on iOS devices #15315

Open
mihalcan opened this issue Feb 26, 2019 · 1 comment
Open
Labels
area: material/sidenav P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@mihalcan
Copy link

What is the expected behavior?

Window should not be scrolled and header should remain visible when sidenav is opened on iOS devices

What is the current behavior?

When mat-sidenav is opened in "over" mode and mat-sidenav-content takes the full height of the screen, page is scrolled after a delay and header is scrolled out of the view so it becomes not visible.

What are the steps to reproduce?

Stackblitz: https://stackblitz.com/edit/angular-material2-issue-wdzkw1?file=app%2Fapp.component.html

GIF shows the issue - initially header is visible, when toggle button is clicked, sidenav opens and then after a small delay header is scrolled out of the view
sidenav issue on ios

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

Stackblitz is using Angular 7.0.1, Material 7.0.2 (the same happens with version 7.2.1)
Issues affects Safari, Chrome and FF on iOS (checked on iPhone7, X and iPad Pro 11 2018)

Is there anything else we should know?

No

@mmalerba mmalerba added the needs triage This issue needs to be triaged by the team label May 20, 2020
@jelbourn jelbourn added area: material/sidenav P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed needs triage This issue needs to be triaged by the team labels May 26, 2020
@heorhii-zolotariuk
Copy link

heorhii-zolotariuk commented May 7, 2021

@mihalcan Hello, did you find a solution or a workaround ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/sidenav P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

4 participants