Sad about scroll


Well I added my Mastodon link to my site, so I get that sweet green tick next to a URL on my profile. Neat, that was easy.


Eagle eyed viewers would have noticed the removal of the rack and pinion along the edge of the site. First off, Safari displayed the thing incorrectly (Because of course it did. Get it together Apple). But the main reason I took it out was because the scroll position was always a few frames behind the displayed viewport location, and it really irked me. Because scroll events are "no longer allowed to block the main thread". I realise there are people out there that abused scroll events and made mobile browsing a horrible lag fest. But surely the browser vendors could've punished them in a separate way? As a result I'm not sure if there is a way to make scroll effects work in lock step with the window scroll position, which to me feels like a huge loss.


It's small things like this that make the web feel less serious as a platform.