I want CSS scroll-snapping *and* to be able to trigger it with arrow keys. Without JavaScript. I want it all.
And that’s something spec writers surely know. Wasn’t in any docs or articles I read while trying to figure it out :(
-
-
What really tricked me is that it all implicitly assumes a statically-sized container. Was driving me bonkers until I figured that part out.
-
And then, even after getting just scroll snapping to work, the keyboard part didn’t work until I modified the container to go full page.
- 2 more replies
New conversation -
-
-
Good time to dig into a spec, then. :) The CSS ones should be reasonably decipherable.
-
Time to update MDN, and write a post on real world scroll-snapping for
@mozhacks
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.