[Webkit-unassigned] [Bug 230438] New: WKWebview sticky element with overflow hidden causes elements to disappear during overscroll
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 17 18:29:03 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=230438
Bug ID: 230438
Summary: WKWebview sticky element with overflow hidden causes
elements to disappear during overscroll
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pklada at gmail.com
This doesn't seem to happen in mobile safari, only reproducible in a WKWebView. If I have a sticky element which is either itself set to overflow:scroll/auto or has a child with the same overflow rules, any child of those elements disappears during overscroll. They seem to disappear at the same moment that their container would otherwise have scrolled out of view (but is still visible due to being sticky). Note this doesn't happen with position: fixed elements, only position: sticky.
Here is a video of the behavior: https://share.getcloudapp.com/jku40OLl
The markup is relatively simple. A sticky positioned element, inside a div with overflow set to "auto" and white-space to "nowrap" so that the container is forced to scroll. Note that if the content doesn't actually force a scroll the bug doesn't seem to occur.
Thanks
--
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/20210918/ddab803e/attachment.htm>
More information about the webkit-unassigned
mailing list