Closed Bug 853339 Opened 12 years ago Closed 12 years ago

[fireplace] Scroll position should(?) reset to top upon navigating cached pages

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2013-03-28

People

(Reporter: cvan, Assigned: basta)

References

()

Details

(Whiteboard: [fireplace])

1. Scroll down. 2. Click a category. 3. Go back to homepage. 4. Click a category again (same/different/whatever). 5. Notice the scroll position is the same as it was in step #2. We're pushState-ing the scrollTop, so I guess it makes sense to have this behaviour when going back/forward in history. But what if the context is different? What if I get linked to the same app from a search results page, for example. Is that the correct expected behaviour? It's worth noting that the scroll position gets reset (since there is none) when accessing a page that hasn't been cached yet. For example: 1. Go to http://localhost:8675/ 2. Click a category.
Is this still reproducible?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee: nobody → mattbasta
Target Milestone: --- → 2013-03-28
Blocks: 859511
You need to log in before you can comment on or make changes to this bug.