Closed
Bug 726695
Opened 14 years ago
Closed 14 years ago
Drawer: drawer should remember previous state when re-entering a stack
Categories
(Pancake Graveyard :: Front-end, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
M2
People
(Reporter: gbrander, Assigned: sfoster)
References
Details
User story: when reopening the app or a stack, I want to understand where I left off in that browsing session.
What happens:
In a long list of sites, re-opening a drawer starts you off at the top of the list.
What I expect to happen:
The drawer should remember the scrolling state I left it in. Perhaps it should even default to scrolling back to the active site if it is not visible in the viewport.
| Assignee | ||
Comment 1•14 years ago
|
||
Where you leave off is the active page in a stack, which has an 'activated' class. Maybe we can query and scrollTo after rendering in the view?
Updated•14 years ago
|
Assignee: nobody → sfoster
| Assignee | ||
Comment 2•14 years ago
|
||
I put a scrollIntoView implementation on the listview, and the stacklistview and stackplacesview use it to scroll to the selected item if necessary when the 'selected' attribute changes.
I wasn't able to use the DOM's node.scrollIntoView because of the way we have the stacks pane and places pane set up and animating. But this seems to work well.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=726695
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•