[Webkit-unassigned] [Bug 281568] New: scrollBy with smooth behavior scrolls outside of element boundaries

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 16 04:35:22 PDT 2024


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

            Bug ID: 281568
           Summary: scrollBy with smooth behavior scrolls outside of
                    element boundaries
           Product: WebKit
           Version: Safari 18
          Hardware: iPhone / iPad
                OS: iOS 18
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: post at fynn.be
                CC: simon.fraser at apple.com

Created attachment 472950

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

Screen recording of the issue

When scrolling an element with the scrollBy() method and setting the behavior to smooth, the element can be scrolled outside of its boundaries.

This issue is occurs in iOS and iPadOS Safari, but not in desktop WebKit.

A screen recording of the issue is attached. The corresponding demo code: https://codepen.io/mvsde/pen/wvVdJwB

-- 
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/20241016/c4f1607e/attachment.htm>


More information about the webkit-unassigned mailing list