[Webkit-unassigned] [Bug 234427] New: scrollBy(0, 0) causes scrolling when zoomed in

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 16 23:19:30 PST 2021


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

            Bug ID: 234427
           Summary: scrollBy(0, 0) causes scrolling when zoomed in
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Apple Silicon)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mqwdtz at gmail.com

When zoomed in (e.g. via the trackpad) in any web page, the `window.scrollBy` function tends to scroll up and left further than expected. This is dependent on the zoom level and exact position of the viewport.

On any web page, zoom in and call `window.scrollBy(0, 0)`. Most of the time, this causes a one pixel scroll left and up (as measured by `window.scrollX` and `window.scrollY`). In some cases, it acts as expected and does not scroll at all or scrolls by an amount small enough that the `window.scrollX` value does not change.

Tested on:

- Safari 14.1.2 (WebKit 16611.3.10.1.6)
- Safari 15.2 (WebKit 17612.3.6.1.6)
- Safari Technology Preview 15.4 (WebKit 17613.1.9.2);

-- 
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/20211217/8b4a9f27/attachment.htm>


More information about the webkit-unassigned mailing list