Bug 212983 - REGRESSION (r261841): Scrolling on Spotify page gets reset to the top
Summary: REGRESSION (r261841): Scrolling on Spotify page gets reset to the top
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-06-09 12:34 PDT by Simon Fraser (smfr)
Modified: 2020-06-09 16:15 PDT (History)
4 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-06-09 12:34:46 PDT
Load https://open.spotify.com/artist/6vWDO969PvNqNYHIOW5v0m and scroll down. Note that when new content gets added to the bottom, the scroll position is reset to the top.

What's happening is that the <div> with overflow:scroll is getting resized to some large, non-scrollable size for a while, triggering a reset of the scroll position via RenderBlock::endAndCommitUpdateScrollInfoAfterLayoutTransaction()/updateScrollInfoAfterLayout().

This doesn't happen prior to r261841. The page does hit the new code.
Comment 1 Simon Fraser (smfr) 2020-06-09 12:35:11 PDT
<rdar://problem/64142477>
Comment 2 Simon Fraser (smfr) 2020-06-09 16:15:51 PDT
Resolved by rollout: https://trac.webkit.org/changeset/262809/webkit