Open
Bug 251784
Opened 20 years ago
Updated 2 years ago
[meta] page not scrolled to previous position when navigating session history
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
NEW
People
(Reporter: bmo, Unassigned)
References
(Depends on 3 open bugs, Blocks 1 open bug)
Details
(Keywords: meta)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040603 Firefox/0.8.0+ Build Identifier: meta bug to track all the bugs that cause this symptom Reproducible: Always Steps to Reproduce:
Updated•20 years ago
|
Assignee: general → chofmann
Component: Browser-General → Tracking
QA Contact: general → chofmann
Updated•20 years ago
|
Blocks: 47350
Summary: window is not scrolled to previous position when navigating to different pages in history → [meta] page not scrolled to previous position when navigating session history
Comment 1•20 years ago
|
||
Confirming meta bug.
Updated•20 years ago
|
Comment 2•20 years ago
|
||
Correcting dependency order for remaining bugs tracked (I'd already correct bug 215405). A tracking bug depends on all of the bugs it tracks - it doesn't block them. Only when the tracked bugs are fixed, can the tracking bug itself be considered resolved. Bug 164421, however, does remain as one that this bug actually does block. (Bug 164421 will not be resolved until this tracking bug is resolved.)
This bug, and in particular 217120, really make the browser disfunctional for people who navigate sites such as eBay. While there is a workaround (using the center mouse button to open a new tab when getting item data) it is kludgy and slow. People continuing to use Firefox when this bug affects them have a special dedication, or a singular dislike of the alternative browser.
Comment 4•20 years ago
|
||
Adding another bug. Although it was maked as a duplicate, I wanted to include it for the sake of completeness.
Depends on: 156306
Depends on: 278739
Particularly noticeable in scrolling thru ebay listings. Noticed that in a long list, the minimum return point was about 4 lines lower upon return. As the the scrolling got further down in the list, the return point got greater, as much as a whole screen once. Since I practically make a living trading on ebay, this really slows me down. I have noticed this happening in the last 2 versions of Firefox.
Reporter | ||
Comment 6•18 years ago
|
||
claud: what you're reporting may be bug 43114, but if you aren't sure, please file a new bug. in any case, this tracking bug isn't the place to discuss specific bugs. if you do file i new bug, let us know here and it will be added to this tracking bug as a blocker. thanks, marc
Comment 7•17 years ago
|
||
of interest: Bug 378606 – [FIX]Does not return to the scroll position in the page after reload
Comment 8•17 years ago
|
||
Not sure if this should be a dupe of bug 36539 or not.
Depends on: focushist
Reporter | ||
Updated•17 years ago
|
Reporter | ||
Comment 9•17 years ago
|
||
aaron: this bug is a meta bug to track bugs that cause scroll position to not be restored correctly. bug 36539 is accessibility-related and is about remembering where we were so keyboard navigators can pick up where they left off. they aren't dupes. i switched this to block bug 36539 instead of vice versa.
Updated•8 years ago
|
Component: Tracking → Document Navigation
Comment 10•6 years ago
|
||
Is this really still an issue? Seems it still isn't behaving the way other browsers do: 1. Go here: http://scroll-back-bug.surge.sh/ 2. Scroll to bottom click link 3. Click back button Expected: Scrolls back to bottom (this is what Chrome, Safari, and Edge do) Actual: Stays scrolled to top
![]() |
||
Comment 11•6 years ago
|
||
This is a metabug, so commenting here is not that useful. That specific page does `document.body.scrollTop = 0`, though...
Comment 12•6 years ago
|
||
@bori(In reply to Boris Zbarsky [:bz] (no decent commit message means r-) from comment #11) > This is a metabug, so commenting here is not that useful. That specific page > does `document.body.scrollTop = 0`, though... Hey Boris, thanks for responding! So, the thing is that code only runs when the app changes the URL, not when you click "back", you can verify that by putting a breakpoint on that line. It will run when you click the link, but not when you click "back". Also where should I be commenting? This is behavior is inconsistent between browsers and seems like a problem for PWAs and all single page apps.
![]() |
||
Comment 13•6 years ago
|
||
> Also where should I be commenting?
New bug blocking this one. Please cc me.
Comment 14•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: chofmann → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•