Remix.run Logo
technion 9 hours ago

Marketing people have demanded this on many websites sites I've been involved with. Don't ask me why.

btown 7 hours ago | parent | next [-]

My hypothesis on this is that marketers who have personal MacBooks but are forced to use Windows computers at work, with mice with notched scroll wheels, find JS-driven smooth scrolling to be superior to the native snapping experience they see at work on many websites. But it wreaks havoc on people who already have computers with native high-resolution trackpads. Alas, the folks at big companies care more about their at-work than at-home experience, and it's been cargo-culted to smaller companies now as well. The conversation "detect if there is indeed a trackpad being used" never even comes up.

ndriscoll 8 hours ago | parent | prev | next [-]

Maybe the industry should develop a secret header we can all have our browser send to disable this sort of thing. Like `X-Shibboleet: true`.

dmix 8 hours ago | parent | prev [-]

What is it? Smooth scrolling?

bangaladore 8 hours ago | parent [-]

From the html:

// SmoothScroll for websites v1.2.1

hombre_fatal 7 hours ago | parent | next [-]

You'd think the library would first check for macOS/iOS which already has far superior smooth scrolling.

braiamp 8 hours ago | parent | prev [-]

And this is why NoScript is a required extension. Matrix if you use Chromium based browsers.