Closed Bug 1502059 Opened 1 year ago Closed 1 year ago

Receiving a relative scroll offset update can cause momentum scrolling to stop

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

Details

Attachments

(1 file)

See bug 1453425 comment 20.

Previously when APZ received a scroll offset update it would clobber its own offset and cancel any scroll animation like momentum scrolling. [1]

Now when we're receiving a relative offset update we should do better and try and preserve any scroll animation.

[1] https://searchfox.org/mozilla-central/rev/72b1e834f384a2ffec6eb4ce405fbd4b5e881109/gfx/layers/apz/src/AsyncPanZoomController.cpp#4390
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b04f3425ee03
Don't always cancel a scroll animation when we have a relative scroll offset update. r=botond
https://hg.mozilla.org/mozilla-central/rev/b04f3425ee03
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Assignee: nobody → rhunt
You need to log in before you can comment on or make changes to this bug.