cordova-ios
cordova-ios copied to clipboard
WKWebView displays content wrong after orientation change
Bug Report
WKWebView displays content html css wrong after orientation change
Problem
I'm using cordova [email protected] for WKWebView to display a page css js. When the app starts up, it shows the view correctly, no matter what orientation it is currently in. However, once I change the orientation the view will either look zoomed in or has whitespace below the the page and position wrong and size. am using IPAD
What is expected to happen?
when oriantation change , i get the view correctly like i getted in [email protected] and in browser
What does actually happen?
displays content wrong after orientation change
Information
Environment, Platform, Device
IPAD macbook pro xcode
i have the same issue with my app
I have the exact opposite on the latest nightly build. On first run (left) and after rotating to landscape and then back to portrait (right):

Could potentially be an Onsen UI problem too, but this only started happening when I upgraded from 5.1.1 to the latest nightly build.
Edit: This also happens on 6.1.0.
I have the same issue. It works properly for the first time. Then it always return 'portrait'. Does anyone know how to fix?