[Webkit-unassigned] [Bug 192745] New: [iOS] Focusing a large editable element always scrolls to the top of the element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 15 18:33:24 PST 2018


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

            Bug ID: 192745
           Summary: [iOS] Focusing a large editable element always scrolls
                    to the top of the element
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wenson_hsieh at apple.com
                CC: wenson_hsieh at apple.com

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.

-- 
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/20181216/6ab86b41/attachment.html>


More information about the webkit-unassigned mailing list