Bug 206258 - Scrolling on hermes.com jumps to the top sometimes
Summary: Scrolling on hermes.com jumps to the top sometimes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-14 14:02 PST by Simon Fraser (smfr)
Modified: 2022-02-09 10:14 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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