Closed Bug 868249 Opened 11 years ago Closed 11 years ago

Preserve scroll position when toggling between "Popular" and "New" tabs

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-05-16

People

(Reporter: cvan, Assigned: scolville)

References

()

Details

(Whiteboard: [fireplace] p=1)

1. Go to https://marketplace-altdev.allizom.org/category/books
2. Click "New" tab.
3. Watch scroll position get reset to the top.

Expected behaviour:
Scroll position should be preserved.

Actual behaviour:
Scroll position does not get reset to the top.
Priority: -- → P3
Assignee: nobody → scolville
Status: NEW → ASSIGNED
Stuart: this might be easiest if you use .trigger('divert') instead of relying on the click fallback of trigger('navigate') on those tabs instead of writing something crazy. Iirc, divert doesn't change scroll position.
Depends on: 870008
https://github.com/mozilla/fireplace/commit/a1e1579e14887a8257181d1a9ce0be696d72bfbb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-16
Verified as fixed in https://marketplace-dev.allizom.org/ on FF24 (Win 7)
Postfix screencast http://screencast.com/t/WJAhOsn0HBCT
Closing bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.