Summary: | Flashing when observed element is reparented in IntersectionObserver callback (without scroll anchoring) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mike Taylor <miketaylr> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | fred.wang, rbuis, simon.fraser, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari Technology Preview | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Mike Taylor
2022-06-09 16:06:42 PDT
Created attachment 460325 [details]
Testcase
In both Chrome and Firefox there's a scroll position jump that happens when the elements are moved around. That might be a side effect of scroll anchoring, which Safari doesn't have. Something similar happens in Firefox if I disable scroll anchoring, and that makes sense; moving the elements changes their intersection, which fires the callbacks, which changes the content. |