[Webkit-unassigned] [Bug 245300] New: Scrolling breaks when scrollTop set on fixed element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 16 14:04:00 PDT 2022


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

            Bug ID: 245300
           Summary: Scrolling breaks when scrollTop set on fixed element
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jack at greensock.com
                CC: simon.fraser at apple.com

Here's an isolated demo: 
https://codepen.io/GreenSock/pen/YzLZVOz

Notice that if you set overscrollBehavior on the body/html and then set the scrollTop of a position: fixed element, suddenly it becomes impossible to scroll the page at all in Safari 16! It's a pretty show-stopping behavior. 

If you set the position back to absolute before setting scrollTop and then switch it back to position fixed, that seems to work. Obviously that shouldn't be necessary.

-- 
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/20220916/909d9679/attachment.htm>


More information about the webkit-unassigned mailing list