Bug 208178

Summary: Element with position: sticky flickers when scrolling if layout is triggered
Product: WebKit Reporter: p_stas1997
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Major CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   
Attachments:
Description Flags
captured the moment of peeling off. none

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>