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)
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').
Comment 1•11 years ago
|
||
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.
Comment 3•11 years ago
|
||
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.
Reporter | ||
Comment 4•11 years ago
|
||
(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.
You need to log in
before you can comment on or make changes to this bug.
Description
•