Closed Bug 1113068 Opened 9 years ago Closed 8 years ago

Overscrolling on the horizontal axis while scrolling vertically delays the snap-back animation until after scrolling finishes

Categories

(Core :: Panning and Zooming, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: cwiiis, Unassigned)

References

Details

(Keywords: polish, Whiteboard: gfx-noted)

As the bug summary says.

STR:

- Navigate to a page with both horizontal and vertical scrolling
- Fling up and right (so that the page travels down and left) while the page is scrolled all the way to the left

Expected:

- Page scrolls downwards and immediately 'resists' the horizontal scrolling

Actual:

- Page scrolls downwards and the horizontal axis appears stretched. When scrolling is finished, the horizontal axis snaps back.


I've never agreed with this behaviour (I've filed bugs about it before, but I can't easily find them... This dates back to the first Java pan zoom controller), but it makes even less sense now that our overscroll indicator is so obviously modelled after a physical object (a spring).
Gordon, what do you think? (Not saying we'll get to this anytime soon, but just want to make sure we know what we're aiming for when we do get around to it).
Flags: needinfo?(gbrander)
Yeah, the description sounds right.

From a design standpoint, the bounce animation could be much much better than what we have in 2.1 (assuming bug 1113068 and bug 1042103 land).

However, I'm most concerned about saving the other scrolling work we have lumped in with the overscroll changes. My understanding is that if we roll back to 2.1 behavior we lose fling curving, etc.
Flags: needinfo?(gbrander)
Keywords: feature
Whiteboard: gfx-noted
B2G is no more, closing this out. We can file other bugs for Android if people are annoyed by the overscroll/snapback behaviour there. This will likely be a per-platform thing anyway.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.