Re: [csswg-drafts] [css-scroll-snap] Multiple nested scrollers and a "default" scrollIntoView()?

If you want to disable snapping, we already have an API for that - just set `scroll-snap-type: none` on the container. We don't need to add more ways to do this, I don't think; in particular, I think it's quite weird to have a scrolling operation have the *side effect* of also permanently disabling snapping for the container.

Overall I'm kinda confused tho - you introduce the proposal with the problem that an aligned sIV() won't honor the snap, but the next scroll will; but then your proposed addition just addresses the original problem in my first post, that of what to do about intermediate snap containers during an unaligned sIV().

(Also, boolean options should default to falsey values, by convention. So if we did do this, we'd want to reverse the naming/meaning of the flag.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2593#issuecomment-384380546 using your GitHub account

Received on Wednesday, 25 April 2018 18:05:58 UTC