Open Bug 1259298 Opened 4 years ago Updated 3 years ago

Improve APZ scroll snap physics

Categories

(Core :: Panning and Zooming, defect, P3)

48 Branch
defect

Tracking

()

Tracking Status
firefox48 --- wontfix
firefox49 --- wontfix
firefox50 --- fix-optional
firefox51 --- fix-optional

People

(Reporter: botond, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: polish, Whiteboard: [gfx-noted])

Now that APZ has knowledge of scroll snap points (bug 1219296), we can change scroll snapping physics in ways that weren't possible before.

Chris suggested a particular change in bug 1219296 comment 20:

(In reply to Chris Lord [:cwiiis] from comment #20)
> It's probably follow-up, but I suggest that the behaviour for snap points
> should act like magnetism - whereby every snap point has a certain attract
> force, and once the momentum of the fling is too low, it won't escape this
> force. This will give the sensation to the user of being able to 'feel' each
> snap point, as well as be consistent with our overscroll oscillation bounce
> effect. It would be a really nice bit of polish that would put us ahead of
> other browsers' behaviour here.

Filing this bug to track that change.
cc'ing Markus who IIRC had some thoughts on what our scroll snap physics should be like.
> (In reply to Chris Lord [:cwiiis] from comment #20)
> > I suggest that the behaviour for snap points
> > should act like magnetism - whereby every snap point has a certain attract
> > force

To be able to represent this, we'll need bug 1282245 fixed first.
Depends on: 1282245
You need to log in before you can comment on or make changes to this bug.