If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Scroll drawer up so user doesn't lose sight of active stack

RESOLVED FIXED in M3

Status

Pancake
Front-end
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dria, Assigned: gordonb)

Tracking

unspecified
x86
Mac OS X

Details

When I've scrolled down the stacks list and click on something, it moves up to the top of the stack list, but my view of the stack doesn't move so it's easy to lose track of what happened (since the clicked item moves up and out of view).

I think we should scroll to the top of the stacks list with the animation so the user never loses sight of the clicked item.

Updated

5 years ago
Assignee: nobody → gbrander
(Assignee)

Updated

5 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 1

5 years ago
A first-pass for this feature has been committed to default https://bitbucket.org/mozillapancake/pancake/changeset/3b1960664cd6 and https://bitbucket.org/mozillapancake/pancake/changeset/ab72ef8962e7. Here's how it works:

* If scrollTop of the body is within a 100px threshold, the view will not be scrolled, since you'll be able to see everything you need to. This means if the view is already at 0, the function just passes to the next function in the chain.
* All stacks are closed before the scrolling happens. This means the distance covered is much shorter. Usually in the neighborhood of 100px or less.
* When the scrolling is finished, the promise chain continues.
* Scrolling happens AFTER the viewer is launched with the new URL.

Marking fixed.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.