[Webkit-unassigned] [Bug 213752] New: WKWebView does not set safe-area-inset-* values with Mac Catalyst

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 29 13:39:28 PDT 2020


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

            Bug ID: 213752
           Summary: WKWebView does not set safe-area-inset-* values with
                    Mac Catalyst
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com

Created attachment 403107

  --> https://bugs.webkit.org/attachment.cgi?id=403107&action=review

Example application for bug reproduction

WKWebView does not set the safe-area-inset-* values when running an application using Mac Catalyst.

Steps to reproduce:

1. Open attached project in Xcode.
2. Run app on Mac.
3. When the app loads, attempt to scroll down. You should notice that some text scrolls down from under the toolbar.
4. In Safari Web Inspector, inspect the "--safe-area-top" CSS Variable on the body. You should notice that it is set to "0px".

I would expect that the safe-area-inset-top value is set to a value such that the text in the example app is not hidden under the toolbar. The safe-area-inset-* values are set properly when running this same app on an iOS device.

-- 
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/20200629/814ba6ca/attachment-0001.htm>


More information about the webkit-unassigned mailing list