codeconsole opened a new issue #901:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/901


   # InAppBrowser 5.0.0 BUG - Does Not Display Correctly in iOS - location bar 
transparent and safe-area-inset not respected
   
   ## Problem
   
   ### What is expected to happen?
   toolbarcolor and toolbartranslucent should either set location bar 
properties or new properties should be added to prevent the location bar from 
being transparent.
   
   This is how viewing a webpage looks in Safari and how it should work
   
![Portrait](https://raw.githubusercontent.com/codeconsole/inappbrowsertest/main/screenshots/safari-portrait.jpg)
   
![Portrait](https://raw.githubusercontent.com/codeconsole/inappbrowsertest/main/screenshots/safari-landscape.jpg)
   
   ### What does actually happen?
   location bar is transparent and not readable and can not e set
   Portrait Orientaion does not respect safe-area-inset-top and 
safe-area-inset-bottom
   
![Portrait](https://raw.githubusercontent.com/codeconsole/inappbrowsertest/main/screenshots/ios-layout.jpg)
   Landscape Orientaion does not respect safe-area-inset-left and 
safe-area-inset-right
   
![Landscape](https://raw.githubusercontent.com/codeconsole/inappbrowsertest/main/screenshots/landscape.jpg)
   
   
   ## Information
   https://github.com/codeconsole/inappbrowsertest
   
   ### Command or Code
   ```
   git clone https://github.com/codeconsole/inappbrowsertest
   cd inappbrowsertest
   cordova prepare
   cordova run ios
   ```
   
   
   
   ### Environment, Platform, Device
   ```
   % xcrun xctrace list devices|grep '12 Pro Max'
   iPhone 12 Pro Max (14.5) (E6A9885C-F212-45C4-9FC3-09B5BD9DB82B)
   ```
   
   ### Version information
   ```
   % cordova -v
   10.0.0
   ```
   ```
   % cordova plugin ls
   cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
   cordova-plugin-whitelist 1.3.5 "Whitelist"
   ```
   ```
   % cordova platform ls
   Installed platforms:
     ios 6.2.0
   Available platforms: 
     android ^9.0.0
     browser ^6.0.0
     electron ^1.0.0
     osx ^6.0.0
   ```
   


-- 
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