Closed Bug 1004779 Opened 11 years ago Closed 11 years ago

Add smooth scrolling behavior for scrolling the window

Categories

(Core :: Panning and Zooming, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 964097

People

(Reporter: kgrandon, Unassigned)

References

()

Details

In the new homescreen we would like a method to perform APZ scrolling to the top of a page. We are currently doing requestAnimationFrame and calling window.scrollTo() within it. Unfortunately this is not quite as smooth as we would like. It would be good to have some API which would smoothly scroll to the top, possibly something like: window.scrollTo(0, 0, 'smooth').
The CSSOM View spec has numerous extensions to DOM and CSS to add smooth scrolling. This should be evaluated & implemented through the standards process, and any findings during implementation shared with the spec authors.
Ah, I knew I filed a bug for this!
Depends on: 964097
Can we just dupe this to 964097 and make that one block the vertical homescreen bug? Also a note to :kgrandon - this is almost certainly not going to be in 2.0.
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #3) > Can we just dupe this to 964097 and make that one block the vertical > homescreen bug? Also a note to :kgrandon - this is almost certainly not > going to be in 2.0. Ok, let's dupe for now. Hopefully we can fighre out some hack to smoothly scroll in 2.0.
Status: NEW → RESOLVED
Closed: 11 years ago
No longer depends on: 964097
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.