[Webkit-unassigned] [Bug 236584] New: focus({preventScroll: true}) does not prevent scrolling on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 14 03:47:21 PST 2022


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

            Bug ID: 236584
           Summary: focus({preventScroll: true}) does not prevent
                    scrolling on iOS
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matthew.garrath.thomas at gmail.com
                CC: simon.fraser at apple.com

Created attachment 451882

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

test case

REPORT:
iOS (15.3)

Although focus({preventScroll: true}) is supposed to be supported on iOS, it doesn't seem to have any effect. As you can see in the test case, when scrolling the input out of view and clicking the button to focus it, it scrolls into view, where-as scroll should not be affected.

This works as expected on MacOS.

Feature implemented last year in ticket https://bugs.webkit.org/show_bug.cgi?id=178583

-- 
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/20220214/b6e38ecf/attachment.htm>


More information about the webkit-unassigned mailing list