Bug 314151
| Summary: | REGRESSION (308320@main): x.com jumps to the wrong scroll offset when navigating back from a thread | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Scrolling | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Fraser (smfr)
On x.com, scroll down a while, then tap on a xeet with replies, and scroll down in the replies. Now tap the back button; it will jump to the wrong location in the feed.
Logging shows that x.com is calling window.scrollTo() with a y offset that's greater than the current maxY, before we've done the layout that resizes the content for the main feed page.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
<rdar://175565114>
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/64321
EWS
Committed 312749@main (26cd9a54b08c): <https://commits.webkit.org/312749@main>
Reviewed commits have been landed. Closing PR #64321 and removing active labels.