[Webkit-unassigned] [Bug 183239] New: [scroll-snap] Scroll sometimes freezes past edge when scroll-snap-type is set.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 28 21:58:14 PST 2018


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

            Bug ID: 183239
           Summary: [scroll-snap] Scroll sometimes freezes past edge when
                    scroll-snap-type is set.
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hi at jonjohnjohnson.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Could be another bug related to -> https://bugs.webkit.org/show_bug.cgi?id=183158 [wenson_hsieh at apple.com]

Observed:
Scrolling an element that has 'overflow-x:scroll' 'scroll-snap-type: x mandatory;' gets stuck at the end of the scroll gesture when scrolling left, against the starting edge of itself, when scroll event happens above a child element that also scrolls.

Expected:
Scroll should rubberband back to having a scrollLeft of 0, regardless of event propagation from child that also scrolls.

Steps to reproduce:
1. Navigate to this url -> http://jsbin.com/gogimu/13
2. Click 'open' button and see left menu 'scroll' open.
3. Use two finger scroll gesture to 'pull' the menu left and right above the shadowed area
4. Notice how scroll logic behaves smoothly.
5. Refresh page, then click 'open' to access menu again. 
5. Now, use two finger scroll gesture while mouse is above the menu to perform same horizontal scroll actions.
6. Notice difference in scrolling horizontally when mouse is above menu.
7. Often when pulling the menu further into the screen, passed it's scroll edge, it won't snap back to the edge after the gesture.
8. If scroll-snap-type is unset, buggy behavior disappears, and scrolling in all directions behaves correctly.

-- 
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/20180301/7569560d/attachment.html>


More information about the webkit-unassigned mailing list