[Webkit-unassigned] [Bug 222636] New: Auto scroll on drag should be enabled on macOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 2 16:30:53 PST 2021


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

            Bug ID: 222636
           Summary: Auto scroll on drag should be enabled on macOS
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: govett at adobe.com

Safari on macOS does not auto scroll elements with overflow: auto/scroll when dragging over them. Chrome and Firefox both auto scroll, as does Safari on iOS. Safari on macOS is the only browser that does not auto scroll.

Steps to reproduce:

1. Open https://codepen.io/devongovett/pen/QWGxwGY in Safari on macOS.
2. Drag the green element at the top over the lorem ipsum text to the bottom of the scrollable region. Notice that it does not auto scroll, so there's no way to reach the drop target at the bottom.

In researching this, I noticed that there is a setting for this (AutoscrollForDragAndDropEnabled), for which the default value is `false`. See https://github.com/WebKit/WebKit/blob/cc94b9412ed0dbccd33464000a264fd7987c881f/Source/WebCore/page/Settings.yaml#L55. Appears to have been introduced in https://bugs.webkit.org/show_bug.cgi?id=121559. I could not find where iOS overrides this though.

-- 
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/20210303/5a6a8a3e/attachment.htm>


More information about the webkit-unassigned mailing list