[
https://issues.apache.org/jira/browse/CB-13987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16459495#comment-16459495
]
ASF GitHub Bot commented on CB-13987:
-------------------------------------
hector-romero opened a new pull request #45: CB-13987: (ios) Fix WKWebView
doesn't layout properly at launch on iP…
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/pull/45
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
iOS
### What does this PR do?
Fixes the issue CB-13987. The WKWebView shows in iPhone X using fullscreen
from the start.
### What testing has been done on this change?
Tested in own project using iPhone X simulator.a
### Checklist
- [ x ] [Reported an
issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
- [ x ] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [ ] Added automated test coverage as appropriate for this change.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> WKWebView doesn't layout properly at launch on iPhone X
> -------------------------------------------------------
>
> Key: CB-13987
> URL: https://issues.apache.org/jira/browse/CB-13987
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Affects Versions: [email protected]
> Environment: Mac
> Cordova 8.0.0
> codova-plugin-wkwebview-engine 1.1.4
> Reporter: Kamal Kalra
> Assignee: Suraj Pindoria
> Priority: Major
> Attachments: TestApp2.zip
>
>
> WKWebView doesn't seem to layout properly at launch. There is a black bar at
> the bottom of the view. If I rotate the app to landscape mode, the view
> automatically resizes correctly and occupies the entire screen. Then when I
> rotate back to portrait mode, it works correctly and occupies the entire
> screen as expected. But at launch this is not happening. It should occupy
> the entire screen at that point without having to rotate back and forth.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]