Bug 206258
Summary: | Scrolling on hermes.com jumps to the top sometimes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Scrolling | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | fred.wang, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=189472 |
Simon Fraser (smfr)
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
rdar://problem/58318956