NEW 222636
overflow scroll doesn't auto-scroll when dragging, making some drop targets inaccessible
https://bugs.webkit.org/show_bug.cgi?id=222636
Summary overflow scroll doesn't auto-scroll when dragging, making some drop targets i...
Devon Govett
Reported 2021-03-02 16:30:53 PST
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-03-09 16:31:13 PST
Note You need to log in before you can comment on or make changes to this bug.