Re: [cssom-view] Add a "smooth" parameter to scrollTo and scrollBy functions

* Tab Atkins Jr. wrote:
>Apparently, there has been a significant rise in the number of sites
>desiring "smooth" scrolling when adjusting the scroll position of a
>page.  Right now, they're limited to some fairly hacky, bad solutions,
>akin to standard Javascript transitions - run a requestAnimationFrame
>and update scrollTop in increments.

Could you rephrase the problem statement in terms of what users want?

>Thus, I propose that we amend the existing scrollTo and scrollBy
>functions in CSSOM View to take a third parameter: an optional
>"smooth" string.  If omitted, the scroll is instant.

I do not see how that would help authors in making web sites that be-
have as users would want them to.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Wednesday, 20 March 2013 02:04:14 UTC