Rotate device page position changes ios - long documents


#1

Hi all,

I’m having an issue where I have a long page (roughly 1000 lines). If I am viewing the page in portrait or landscape, then switch to the opposite orientation, I am no longer in the same position. For example, If I scroll to a heading halfway down the page, center it, then rotate the device, the heading ends up way off screen and I find I have to scroll up to find it again. Android doesn’t do this, it’s only an ios problem.

Any thoughts? Details below
cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

@ionic/app-scripts : 3.1.9
Cordova Platforms  : android 7.0.0 browser 5.0.3 ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
ios-deploy        : 1.9.2 
ios-sim           : 6.0.0 
Node              : v8.9.1
npm               : 5.5.1 
OS                : macOS Sierra
Xcode             : Xcode 9.2 Build version 9C40b 

Environment Variables:

ANDROID_HOME : /Users/chrisdelambert/Library/Android/sdk

Misc:

backend : pro

Also:

“cordova-plugin-ionic-webview”: “^1.2.1”,