Possible scroll-anchoring bug with Back on Amazon prime day pages
Categories
(Core :: Layout: Scrolling and Overflow, defect, P3)
Tracking
()
People
(Reporter: jesup, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [sci-exclude])
When hitting back to a list of Amazon deals (Prime Day deals, but a normal Lightning Deals list likely has the same problem - it's mostly using the same layout, just with a live video at the top discussing deals), the scroll position ends up with the near-bottom-of-page content visible, instead of where in the list of current deals you were. Chrome does the same thing at first, but as the actual deals start to load, it moves the scroll position to the spot you were at.
This may not be a consequence of the recent scroll-anchoring work, but may be a case it missed, or possibly something chrome does better. It could even be a webcompat issue or amazon JS code that is doing something different for chrome, though I doubt that.
Nightly, desktop (windows).
Comment 1•6 years ago
|
||
Randell, can you repro this on the latest nightly? I fixed bug 1546027 like, yesterday :)
Reporter | ||
Comment 3•6 years ago
|
||
So in Nightly now, on the Lightning Deals page, if I click an item, let it load, then hit back, it reloads in the right position, the at the end of the load jumps to the top of the page, every time. So it's now failing in the opposite direction. Note that Beta was also having the same problems.
Tried again (same nightly); the place it always goes back to is not the scroll position when I click, but this time it's always the same location where I first clicked on an item (this times on the main All Deals page). I.e. load All Deals; scroll down, click on item, back -- at right spot. Then scroll down more, click on item, back -- goes back to the scroll location of the first time. Repeat moving further down the page to click on; same issue.
Comment 4•6 years ago
|
||
Can you screencast what you see or something?
(In reply to Randell Jesup [:jesup] (needinfo me) from comment #3)
So in Nightly now, on the Lightning Deals page, if I click an item, let it load, then hit back, it reloads in the right position, the at the end of the load jumps to the top of the page, every time. So it's now failing in the opposite direction. Note that Beta was also having the same problems.
I cannot see the 'jump at the top of the page' thing at all, not once of the multiple times I've tried. I'm using this URL which I think is the right one: https://www.amazon.com/gp/goldbox
Is that the right URL? Does it repro on a clean profile?
Tried again (same nightly); the place it always goes back to is not the scroll position when I click, but this time it's always the same location where I first clicked on an item (this times on the main All Deals page). I.e. load All Deals; scroll down, click on item, back -- at right spot. Then scroll down more, click on item, back -- goes back to the scroll location of the first time. Repeat moving further down the page to click on; same issue.
I couldn't repro this either. It doesn't help that the order of the items is changing all the time though... :(
Randell, can you confirm I'm using the right URL to test at least? :)
Comment 5•6 years ago
|
||
(Just moving this to the right sub-component and making it block the scroll anchoring meta-bug so it's not forgotten)
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Description
•