[Webkit-unassigned] [Bug 185104] New: [css-scroll-snap][css-position-sticky] When currently sticking elements normal flow is beyond scrollports "fold" scroll-snap-align doesn't calculate correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 27 20:19:15 PDT 2018


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

            Bug ID: 185104
           Summary: [css-scroll-snap][css-position-sticky] When currently
                    sticking elements normal flow is beyond scrollports
                    "fold" scroll-snap-align doesn't calculate correctly
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hi at jonjohnjohnson.com

Expected:
"Normal flow" geometry is always used from a scroll-snap-align set element, even if it has sticky position scheme.

Observed:
Scenario where snapping scroller doesn't register children's normal flow snap alignments, if position:sticky "sticks" them into the scrollport towards the scrolling start edge, meaning their normal flow is passed the scrollport's "fold"?

1. Navigate to testcase -> https://jsfiddle.net/bzantvmk/
2. Scroll horizontally, notice how the scroller only snaps to the beginning and end.
3. Alter the 'position' of '.panel' blocks to 'static' and see snapping work correctly for each panel in the scroller.

In most my mixing of scroll-snap and sticky, alignment is calculated correctly, but this is a case where it's completely broken.

cc wenson_hsieh at apple.com

-- 
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/20180428/d8a3612b/attachment-0001.html>


More information about the webkit-unassigned mailing list