ailinykh opened a new issue, #1334:
URL: https://github.com/apache/cordova-ios/issues/1334

   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   The WKWebView and WKContentView have the same size on iPhone 14 Pro and 
iPhone 14 Max
   
   ![Simulator Screen Shot - iPhone 14 - 2023-06-02 at 09 24 
49](https://github.com/apache/cordova-ios/assets/939390/432f3857-0fc2-49f4-be3a-d40cf456c319)
   
   ### What does actually happen?
   
   The WKWebView and WKContentView have different sizes on iPhone 14 Pro and 
iPhone 14 Max
   
   ![Simulator Screen Shot - iPhone 14 Pro - 2023-06-02 at 09 24 
10](https://github.com/apache/cordova-ios/assets/939390/1c632699-23da-4e1e-9830-2e0680a9f9f6)
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   The WKContentView have an offset by 8px because of 
[contentInsetAdjustmentBehavior](https://developer.apple.com/documentation/uikit/uiscrollview/2902261-contentinsetadjustmentbehavior)
   
   <img width="1337" alt="Screenshot 2023-06-02 at 09 28 57" 
src="https://github.com/apache/cordova-ios/assets/939390/02ddadf8-c82b-43b7-acf8-af13e156392d";>
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   Original comes from https://github.com/Jigsaw-Code/outline-client/issues/1628
   
   ### Environment, Platform, Device
   iPhone 14 Pro, iPhone 14 Max
   
   
   
   ### Version information
   latest
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to