-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Bug Report
Ionic version:
[x] 4.x
[x] 5.x
Capacitor
[x] 2.4.x
Angular
9.1.x
Current behavior:
This is a very specific use case. On iOS devices...if the ion-menu type is push and if a page has an ion-content but no ion-header and you navigate away from it and then back to it...the vertical scrollbar displays in the middle of the page. I've noticed this only on iOS across many iOS devices and different apps I've built where a page doesn't have an ion-header/ion-toolbar. If I change the side menu type to reveal or overlay then the issue is resolved. Something about the push effect causes the scrollbar to persist in the middle of the screen when coming to the page after the side menu has been opened. Strangely...if I include an ion-header/toolbar then this scrollbar issue goes away.
Steps To Reproduce
With <ion-menu type="push">, create a page that has no ion-header and has content to scroll...then go to another page from the menu then go back to the original page. The push effect of the menu sets the scroll bar in the middle of the screen on iOS.
