[Webkit-unassigned] [Bug 260443] New: Kinetic scrolling stops after elements are slotted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 20 06:31:53 PDT 2023


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

            Bug ID: 260443
           Summary: Kinetic scrolling stops after elements are slotted
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: steveorvell at gmail.com
                CC: simon.fraser at apple.com

Created attachment 467346

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

Scrolling freezes after scrolling horizontally inside the top bordered container on iOS/iPadOS

Setup: 
1. An element has a shadowRoot with a <slot> in it.
2. The element is scrollable.
3. A child element is appended and slotted to the <slot> *while* the element is scrolling. 

Expected: 
* The element continues to scroll after the child is appended.
Actual: 
* The element immediately stops scrolling after the child is appended.

Reproduction:

* Scroll horizontally inside each bordered container.
* Note, this issue occurs only on iOS/iPadOS.

The attached reproduction shows the *incorrect* behavior when a child is appended and slotted, and it also shows the *expected* behavior when a child is appended to the shadowRoot itself rather than slotted. The reproduction is also available at https://lit.dev/playground/#gist=05deaacf5ba04c069cc41b9d523b636b&view-mode=preview.

-- 
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/20230820/9d6f2042/attachment.htm>


More information about the webkit-unassigned mailing list