[Webkit-unassigned] [Bug 266408] New: fixed background-attachments break scrolling inertia when scrolling element is not on the body

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 14 06:18:40 PST 2023


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

            Bug ID: 266408
           Summary: fixed background-attachments break scrolling inertia
                    when scrolling element is not on the body
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ard at odoo.com

Created attachment 469037

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

HTML which has the bug

We have an issue on our Website/Website Builder App where any element that has `background-attachment: fixed` will break the scrolling inertia on Safari.

One of the reason for this bug happening is that the scrolling element is not on `body` but on a subsequent root element.

In attachment I have a simple html example which also breaks inertia on Safari. Some of the CSS is not necessary for the inertia to break.

This works fine in other browser, and seems to work on previous versions of Safari (tried 16.4), though I was only able to test previous version through VMs, which might explain why scrolling was handled differently.

-- 
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/20231214/45b91abc/attachment.htm>


More information about the webkit-unassigned mailing list