Live data from Hacker News

An Introduction to CSS-Doodle

yuanchuan.github.io

11–20 of 34 posts

Re: An Introduction to CSS-Doodle

#14
Meta point - this page has one of the nicer "snap" scrolling mechanisms I've seen on Mac with a touchpad - scrolling still feels natural, but when I let go it snaps to a single slide. Scrolling with momentum seems to work naturally too. Can't comment on keyboard or mouse scroll wheel navigation though.

Re: An Introduction to CSS-Doodle

#15

Meta point - this page has one of the nicer "snap" scrolling mechanisms I've seen on Mac with a touchpad - scrolling still feels natural, but when I let go it snaps to a single slide. Scrolling with momentum seems to work naturally too. Can't comment on keyboard or mouse scroll wheel navigation though.

That's because it's native to the browser and not hijacked by JS: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap...

Re: An Introduction to CSS-Doodle

#16

Scrolling with the mouse wheel doesn't update the URL fragment, breaking navigation when switching back to keyboard arrows as of Chrome 126.0.6478.62

Another consequence of this is that there's no way to share a specific "slide", which is a shame because there's an example about 2/3s of the way down that's really cool but there's no simple way to send anyone straight to it

It works for me. Maybe the author fixed it in the meantime?

Example: https://yuanchuan.github.io/intro-to-css-doodle/#13

Re: An Introduction to CSS-Doodle

#17
post #12

Scrolling is totally broken, use keyboard arrow to change pages. Scrolling push a new page in the browser history, i have now 40 items in the browsers history :|.

I once wrote a Chrome web browser extension that removes these duplicated browser history entries. The Chrome store denied it, citing that it didn’t have enough functionality to be valuable.

That means your problem is obviously not big enough to complain about ;)

Re: An Introduction to CSS-Doodle

#19
post #15

Meta point - this page has one of the nicer "snap" scrolling mechanisms I've seen on Mac with a touchpad - scrolling still feels natural, but when I let go it snaps to a single slide. Scrolling with momentum seems to work naturally too. Can't comment on keyboard or mouse scroll wheel navigation though.

That's because it's native to the browser and not hijacked by JS: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap...

[deleted]
Post reply on HN