ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
128 stars 85 forks source link

Scrolling cause freeze of App on iOS 12 #1003

Closed filippodicostanzo closed 5 years ago

filippodicostanzo commented 5 years ago

I'm submitting a ... (check one with "x") [X ] bug report [ ] feature request

Current behavior: Before an update of IOS 12.2 i don't have any issue. After the last iOS update when i choose a page from side menu the app is freeze and the scroll doesn't work. I can scroll only if there is an CSS update like turn the device orientation from portrait to landscape and the other way around.

I've tried on my 3 app develop with ionic 3.9.2

I read other discussion and i try to apply the recommended patch but didn't work.

Expected behavior: Scrolling should work appropriately when navigating from side menu to page.

Steps to reproduce: Important Note: I running the app on iOS 12.2

ionic cordova platform add ios ionic cordova build ios Open Xcode and run the app on your device After loading when i open the sidemenu and go to other page the scrolling doesn't work

Other information: Issue is specific to iOS; does not affect Android

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Ionic:

   ionic (Ionic CLI)  : 4.12.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.4-201903121725
   @ionic/app-scripts : 3.2.3

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : ios 5.0.0
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 14 other plugins)

System:

   ios-deploy : 1.9.2
   ios-sim    : 7.0.0
   NodeJS     : v10.15.3 (/usr/local/bin/node)
   npm        : 6.9.0
   OS         : macOS Mojave
   Xcode      : Xcode 10.2 Build version 10E125
maerlynflagg commented 5 years ago

My issue is similar this. after updating to iOS 12.2 i can't scroll in a new opened modal.

but after changing the orientation to landscape and back to portrait, scrolling is working.

filippodicostanzo commented 5 years ago

Try to update the new version of ionic angular with npm npm i ionic-angular@nightly

JoeMeeks commented 5 years ago

Just add this to your scss:

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

Hi there,

I am going to close this as a duplicate of https://github.com/ionic-team/ionic-v3/issues/1004.

Thanks!

rafaelpbx commented 4 years ago

Just add this to your scss:

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

Works for me, tks

rhafiko commented 4 years ago

Just add this to your scss:

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

works for me. thank you.

YaroslavG commented 4 years ago

the problem is still on ios 12.3.1

Bkhadija commented 4 years ago

@YaroslavG yes the problem is still on ios 12.3.1. Any other workaround guys ? setting "pointer-events: auto" is not working for me so as the other solutions :(

YabinSong commented 4 years ago

@YaroslavG @Bkhadija I'm also still having the problem. Did you find any solution?

Bkhadija commented 4 years ago

@YabinSong check the last comments in here https://github.com/ionic-team/ionic-v3/issues/984