Closed Bug 1655242 Opened 4 years ago Closed 4 years ago

relative scroll updates that come in during smooth scroll animations truncate the existing animation

Categories

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

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Because we apply the relative offset to mScrollOffset and/or mSmoothScrollOffset we make the new destination the current position plus the relative offset. I know for pure relative offset updates we want the new destination to be the existing destination of the existing smooth scroll animation plus the pure relative offset. Less sure if we want the same for regular relative offset updates.

Severity: -- → S3
Priority: -- → P3
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1e36ce18138c
When a relative scroll offset update comes in during a smooth scroll animation make the new destination be based on the existing destination, not the current scroll position. r=kats
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Blocks: 1658167
Depends on: 1671327
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: