[Webkit-unassigned] [Bug 191872] WkWebView does not set the `env(safe-area-inset-*)` CSS variables until some arbitrary time after page load.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 27 17:53:15 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=191872

Evan Owen <kainosnoema at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kainosnoema at gmail.com

--- Comment #5 from Evan Owen <kainosnoema at gmail.com> ---
We're also struggling with this bug still in iOS 16 still. All of the safe-area-inset-* CSS env vars are zero until shortly after the webview is initialized sub-second, but noticeable). It happens both when first launching an app into a WKWebView and also restoring after the app's been suspended. Because it's non-deterministic, it's very hard to work around manually.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230128/b6696b10/attachment.htm>


More information about the webkit-unassigned mailing list