Closed Bug 1171859 Opened 9 years ago Closed 9 years ago

Use native smooth-scrolling where supported

Categories

(www.mozilla.org :: Pages & Content, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: agibson, Assigned: jpetto)

Details

(Whiteboard: [kb=1768220])

Firefox now has native smooth-scrolling API [1]

We could look to make a simple JS polyfill, which falls back to the current jQuery animation when the native API is not yet supported. A good usage example would be on the /firefox/os/devices/ page [2], where clicking either "Phones" or "Televisions" scrolls down the page.

[1] http://blog.gospodarets.com/native_smooth_scrolling/
[2] https://www.mozilla.org/firefox/os/devices/
Whiteboard: [kb=1768220]
I'm using the new API in my BzDeck app and it's pretty nice.
Assignee: nobody → jon
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/a188202771d6498daf7959b08d1c8691813669d0
Bug 1171859. Build & use smooth scrolling polyfill.

https://github.com/mozilla/bedrock/commit/0d29bd469659e722e147a0673691c85361bbae6f
Merge pull request #3113 from jpetto/bug-1171859-native-smooth-scrolling

Bug 1171859. Build & use smooth scrolling polyfill.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.