WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
192745
[iOS] Focusing a large editable element always scrolls to the top of the element
https://bugs.webkit.org/show_bug.cgi?id=192745
Summary
[iOS] Focusing a large editable element always scrolls to the top of the element
Wenson Hsieh
Reported
2018-12-15 18:33:24 PST
This behavior is undesirable in scenarios where the editable element too large to be centered in the viewport. Currently, we scroll such that the top of the element is aligned with the top of the viewport, but this can result in unnecessary scrolling if the top of the element is already in view, and near the top of the viewport. In particular, when WKScrollView has a top content inset and has content inside the inset area, this means that tapping to focus an element at (0, 0) in the document always causes the web view to scroll away content in the top inset area.
Attachments
Patch
(17.86 KB, patch)
2018-12-16 18:21 PST
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Fix iOS open source builds
(18.75 KB, patch)
2018-12-16 19:12 PST
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-12-15 20:16:39 PST
<
rdar://problem/46758445
>
Wenson Hsieh
Comment 2
2018-12-16 18:21:30 PST
Created
attachment 357424
[details]
Patch
Wenson Hsieh
Comment 3
2018-12-16 19:12:23 PST
Created
attachment 357425
[details]
Fix iOS open source builds
WebKit Commit Bot
Comment 4
2018-12-17 20:04:53 PST
Comment on
attachment 357425
[details]
Fix iOS open source builds Clearing flags on attachment: 357425 Committed
r239314
: <
https://trac.webkit.org/changeset/239314
>
WebKit Commit Bot
Comment 5
2018-12-17 20:04:54 PST
All reviewed patches have been landed. Closing bug.
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