3 ms·
To my fellow frontend people: I promise you can code your fancy scroll effects without resorting to scrolljacking. The inertia on this JS scrolling feels just w
by lelandfe 5y ago
To my fellow frontend people: I promise you can code your fancy scroll effects without resorting to scrolljacking. The inertia on this JS scrolling feels just wrong when using a macOS trackpad (and the spacebar PgDown is broken).
- danuker 5y agoThere is no justification for it. Indeed the custom scroll reimplementation feels sluggish. In general, it is unlikely to surpass the native browser support.
- ui4jd73bdj 5y agoIt's scrolling too fast and very jittery on mobile as well. Very bad UX. But hey at least the title animation is smooth and cool, who cares about the actual content?
- ajot 5y agoOn Firefox for Android I can't even read half of the paragraphs. As they should been rendering, I arrive to other part of the landing page. It's a pity it has this awful promo site.
- lelandfe 5y agoIt is especially unfortunate as you can get buttery smooth scroll animations without scrolljacking: schedule the events with requestAnimationFrame, throttle to 60FPS, and avoid layout thrashing[0]. [0] https://gist.github.com/paulirish/5d52fb081b3570c81e3a https://gist.github.com/paulirish/5d52fb081b3570c81e3a and https://csstriggers.com/ https://csstriggers.com/
- weird-eye-issue 5y agoIt's terrible on my Android phone too. And there must be some code running all the time because even when I put the YouTube trailer in fullscreen it kept stuttering when playing
- Grazester 5y agoOne my Pixel 5 it's fine(running Chrome)
- Xelbair 5y agoif any of frontend devs messes with scrolling know this: if your page does it - I'm leaving. no exceptions.
- fareesh 5y agoWhat's the latest hotness to do this? IntersectionObserver?
- deleted 5y ago[deleted]
- misterS 5y agoMy guess is that the graphical designers are to blame for this – and of course whatever PM signed off on that.
- the_other 5y agoI did two “scroll a page’s worth of content” and nothing changed except the title text got more faint and the words separated from one another. So I stopped reading. It’s less effort to come to HN and complain about shit UX than it is to fight the UX to get to the content.
- deleted 5y ago[deleted]
- echelon 5y agoThe website scrolls at 15fps. I'm getting sick of the "animate page elements with scrolling" trend. It's not clever anymore, and more than half of the time it's done wrong and interferes with browsing. Hopefully the game has a higher frame rate.