Hacker News new | ask | show | jobs
by jagger27 3442 days ago
I have a bit of feedback: the scrolljacking doesn't work at all for me in Safari on macOS with a MacBook touchpad. All it does is activate the edge-bounce animation. Chrome is a little janky too, half activating the bounce animation and then advancing to the next slide. Firefox is fine since it doesn't do the edge-bounce.

The worst crime (to me anyway) is the history spam and this applies to all browsers. Hitting back changes the URL but not the slide that's shown, curiously. If you're going to go this route, that's fine, just update the visible slide.

I would prefer if it didn't make me jump 50 history items back to get to where I came from.

2 comments

Right. I actually don't mind the 50 history items, but it definitely feels like a bug when the URL changes upon hitting Back but does not update the visible slide.
Thanks, jagger27. Touchpad is my priority right now. I'm just a CSS guy :)
With regards to the history, you can update the URL without having the history spam. I believe it's replaceState instead of pushState
It shows! The design is lovely.