[Webkit-unassigned] [Bug 230395] New: Elements with position: sticky have spaces above it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 17 02:01:08 PDT 2021


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

            Bug ID: 230395
           Summary: Elements with position: sticky have spaces above it
           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

Elements with position: sticky jump while scrolling and create space above itself.
We have a crutch for it, we set margin-top: -1px, padding-top: 1px, top: (needed top - 1px). It works, but in some cases like that https://bugs.webkit.org/show_bug.cgi?id=230390, we can't fix it.
Also it makes some problems with borders
Use link to see https://jsfiddle.net/taspqxLr/14/

-- 
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/ba40762a/attachment.htm>


More information about the webkit-unassigned mailing list