Improve APZ scroll snap physics

NEW
Unassigned

Status

()

Core
Panning and Zooming
P3
normal
2 years ago
2 years ago

People

(Reporter: botond, Unassigned)

Tracking

(Depends on: 1 bug, {polish})

48 Branch
polish
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox48 wontfix, firefox49 wontfix, firefox50 fix-optional, firefox51 fix-optional)

Details

(Whiteboard: [gfx-noted])

(Reporter)

Description

2 years ago
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.
status-firefox48: affected → wontfix
status-firefox49: --- → affected
(Reporter)

Comment 1

2 years ago
cc'ing Markus who IIRC had some thoughts on what our scroll snap physics should be like.
(Reporter)

Comment 2

2 years ago
> (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
status-firefox49: affected → wontfix
status-firefox50: --- → fix-optional
status-firefox51: --- → fix-optional
Priority: -- → P3
Version: Trunk → 48 Branch
You need to log in before you can comment on or make changes to this bug.