WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
213752
WKWebView does not set safe-area-inset-* values with Mac Catalyst
https://bugs.webkit.org/show_bug.cgi?id=213752
Summary
WKWebView does not set safe-area-inset-* values with Mac Catalyst
Liam DeBeasi
Reported
2020-06-29 13:39:28 PDT
Created
attachment 403107
[details]
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.
Attachments
Example application for bug reproduction
(59.15 KB, application/zip)
2020-06-29 13:39 PDT
,
Liam DeBeasi
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-06-30 16:27:03 PDT
<
rdar://problem/96253869
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug