Bug 208178 - Element with position: sticky flickers when scrolling if layout is triggered
Summary: Element with position: sticky flickers when scrolling if layout is triggered
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-24 22:48 PST by p_stas1997
Modified: 2021-12-19 20:04 PST (History)
2 users (show)

See Also:


Attachments
captured the moment of peeling off. (210.83 KB, image/jpeg)
2020-02-24 22:48 PST, p_stas1997
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description p_stas1997 2020-02-24 22:48:41 PST
Created attachment 391627 [details]
captured the moment of peeling off.

An element that has position:sticky starts peeling off for a split second when scrolling 
if the DOM is currently being modified and / or heavy operations are occurring in javascript.

Demo http://jsfiddle.net/elefante/uz5ka3c6/69/
Try to quickly scroll up and down and see this
Comment 1 Radar WebKit Bug Importer 2020-02-26 09:46:16 PST
<rdar://problem/59809008>