[Webkit-unassigned] [Bug 230390] New: Elements with position: sticky inside grid have spaces

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 17 00:09:07 PDT 2021


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

            Bug ID: 230390
           Summary: Elements with position: sticky inside grid have spaces
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kovalev.mine at mail.ru

Here you can see the problem
https://jsfiddle.net/1c7La89w/22/

On some scales (sometimes it happens in 100% scale too) elements with position: sticky create spaces.
It occurs without display: grid, but we fixed this problem locally using crutch.
We put margin-top: -1px, paddin-top: 1px and top: (needed top - 1px). It works fine for simple blocks.
But with display: grid we have horizontal and vertical spaces, witch can't be fixed with our crutch as you can see in jsfiddle

-- 
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/20210917/2a9f1348/attachment.htm>


More information about the webkit-unassigned mailing list