Bug 206258

Summary: Scrolling on hermes.com jumps to the top sometimes
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: fred.wang, simon.fraser
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=189472

Description Simon Fraser (smfr) 2020-01-14 14:02:25 PST
Load https://www.hermes.com/us/en/men/apple-watch-hermes/#%7C%7CCategory on iPhone and scroll down a bit. It often jumps back to the top.

The content has:

   }), A.tl.filterBanner.progress(1)), "faq" === y || "grid" === y && g.isAngularMode() || window.scrollTo(0, document.body.scrollTop - 1)

where document.body.scrollTop is always 0, since it should be using document.scrollingElement after https://trac.webkit.org/changeset/240250/webkit
Comment 1 Simon Fraser (smfr) 2020-01-14 14:02:52 PST
rdar://problem/58318956