Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ion-content scrolling stopped working on ios 14

My app stopped working some screens right after iOS 14.0 update, when I test on an 13.5 emulator it is working normally.

I'm already using the following code:

ion-app.platform-ios12 ion-content {
   pointer-events: auto; / * fix scroll lock on ios12.2 * /
}

and I also tried to force the screen to scroll by css, but no news :(

Has anyone faced a similar situation? Any leads would help! My settings:

Ionic:
   Ionic CLI                     : 6.11.8 
   @angular/cli                  : 8.1.3
Capacitor:
   Capacitor CLI   : 2.4.2
   @capacitor/core : 2.4.2
System:
   npm    : 6.14.8
   OS     : macOS Catalina
like image 486
Felipe Avatar asked Dec 30 '25 12:12

Felipe


1 Answers

You need to update your code to point to iOS 14 like this

ion-app.platform-ios14 ion-content { pointer-events: auto; }

like image 77
Imam Ghozali Avatar answered Jan 01 '26 06:01

Imam Ghozali