I want CSS scroll-snapping *and* to be able to trigger it with arrow keys. Without JavaScript. I want it all.
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.
-
That was the keyboard part where I get stuck.
- 1 more reply
New conversation -
-
-
Really? Scroll snapping should have nothing to do with how a container is sized, as long as there's some overflow that needs scrolling.
-
Yep, I realized that ultimately was the problem. The overflow requirement wasn't obvious to me. I still think it's weird.
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.