WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
275350
Changing the width value of WKWebView allows the displayed website to be moved to a larger size
https://bugs.webkit.org/show_bug.cgi?id=275350
Summary
Changing the width value of WKWebView allows the displayed website to be move...
f426k
Reported
2024-06-11 04:01:01 PDT
Created
attachment 471647
[details]
screen recording When the iPhone is in Landscape, changing the width value of WKWebView may allow a website displayed in WKWebView to be moved larger. When displaying the Apple website, this bug occurs at the following widths. - iPhone 15 - wkweview width: 331.0, web content width: 331.0 - wkweview width: 338.5, web content width: 338.0 - iPhone 15 Pro - wkweview width: 332.0, web content width: 332.0 - wkweview width: 400.5, web content width: 400 web content width is the width of the website as verified by Safari's Web Inspector. The width at which this bug reproduces may vary depending on the device and the website being viewed. I have confirmed that the element does not overhang using Safari's WebInspector. I don't think it's a viewport issue, as sometimes it doesn't go away even after page transitions. We have created a sample application to reproduce this issue. You can build and check it.
https://github.com/f426k/webview-sample-app
I have attached a screen recording and screenshot of when this bug is reproduced.
Attachments
screen recording
(4.81 MB, video/quicktime)
2024-06-11 04:01 PDT
,
f426k
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-06-18 04:05:26 PDT
<
rdar://problem/130070436
>
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