You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/30 23:26:56 UTC
[GitHub] [cordova-plugin-wkwebview-engine] jacobweber commented on issue
#108: Content dimensions incorrect at startup on iPhone X
jacobweber commented on issue #108: Content dimensions incorrect at startup on iPhone X
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/108#issuecomment-536793064
So far the suggested fix is working for me. I already had `viewport-fit=cover` and head/body at 100% x 100%. I changed the first visible child element of body from 100% x 100% to 100vw x 100vh, and I'm no longer seeing the extra margin.
I'm wondering how reliable this is, e.g. if additional child elements of body are added with 100% instead of 100vw, will that re-introduce the margin? Or is it only calculated when the app launches?
BTW, the issue never appeared every time -- I would usually need to re-launch it a few times for it to appear.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org