W3C home > Mailing lists > Public > www-style@w3.org > December 2015

Re: [cssom-view][css-snappoints] scroll-snap and scrollTo/scrollIntoView interactions

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 22 Dec 2015 23:46:56 +1300
Message-ID: <CAOp6jLa4MYirFtvCqRhJScJoTG=r46ECbnvXutY8K+S0V2isBA@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: Brent Fulgham <bfulgham@apple.com>, www-style <www-style@w3.org>
On Sat, Dec 19, 2015 at 12:38 AM, Simon Pieters <simonp@opera.com> wrote:

> Can you elaborate on what is needed in the API? What are the use cases?

Some use cases:
-- Large scrolling list of named items; user types a letter and the
application scrolls into view the next item whose name starts with that
letter. That scroll operation should snap.
-- Application-implemented down-arrow button scrolls more content into
view. That scroll operation should snap.
-- Application-implemented scrollbar thumb scrolls as the thumb is dragged.
That scroll operation should not snap until the thumb is released.

My guess is that a boolean flag would suffice.

lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
Received on Tuesday, 22 December 2015 10:47:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:59 UTC