sjoerdloeve commented on issue #172:
URL:
https://github.com/apache/cordova-plugin-wkwebview-engine/issues/172#issuecomment-676057117
I'm always using 100% height for my Cordova apps, so i'm trying to help you
out.
I did create a new app on Cordova CLI 9, Cordova iOS 5.1.1:
Then i changed/minimized the index.html file to fit the window:
`<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="initial-scale=1, user-scalable=no,
width=device-width, height=device-height, viewport-fit=cover">
<title>Dynamic height</title>
<style type="text/css" rel="stylesheet">
html, body, #app {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
html {
background: red;
}
body {
background: blue;
}
</style>
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="cordova.js"></script>
</body>
</html>`
On my device it works great, can you try it?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]