bug: ion-content is still scrollable while ion-menu is opening.
See original GitHub issueBug Report
Ionic version:
[x] 4.x [x] 5.x
Current behavior:
ion-content
is still scrollable while ion-menu
is opening. This is happens only with cordova and capacitor, not in the browser.
Expected behavior:
ion-content
should not be scrollable.
Steps to reproduce:
While opening a ion-menu
, swipe finger up and down.
Other information:
Here you can see it: https://www.youtube.com/watch?v=K-ImPdKFoiA
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:19
Top Results From Across the Web
bug: ion-content is still scrollable while ion-menu is opening ...
Current behavior: ion-content is still scrollable while ion-menu is opening. This is happens only with cordova and capacitor, not in the browser ...
Read more >ion-content - Ionic Framework
ion-content provides an easy to use content area with useful methods to control the scrollable area. Learn more about this CSS component for...
Read more >Ionic 4 *ngFor does not scroll properly in iOS - Stack Overflow
It's a bug: https://github.com/ionic-team/ionic/issues/16910. Remove ion-content and add this to your component's scss: .backdrop-no-scroll ...
Read more >Making a Menu Work in Ionic 4 - Damir's Corner
<ion-app> <ion-menu side="start" menuId="first"> <ion-header> ... the error in the browser console was gone and the menu opened when I ...
Read more >The 9 Most Common Mistakes That Ionic Developers Make
However, over time, the best practices and tooling for Ionic have not ... Native Scrolling on any page using overflow-scroll directive on any...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Confirmed here as well, on all platforms/modes (iOS/Android/Web/etc). This happens easily and consistently and results in a VERY slow/jittery interaction for the user.
@liamdebeasi Not sure my tag came through since I edited it in. Just making sure you saw it, since I believe we have a viable workaround/fix for this if you want to incorporate it.
FYI. This seems to work best when it is ALSO called on menu
ionWillOpen
andionWillClose
, as menus may also have content inside them that can scroll when closing.So something like this: