Rusty Locks Notes 2023

#TIL |  Scroll Listener Performance

As you might see, every page in this blog has a header image which shrinks proportional as you scroll down. Angelos Chalaris had yesterday a very useful tip how to prevent jerks while scrolling, due to performance problems. Now it’s way smoother, but not perfect. Didn’t find a CSS solution for it yet…

30 seconds of code - Tip: Improve scroll listener performance

#JavaScript #Scroll #Performance

You can interact with this note (applause, criticism, whatever) by mention it in one of your posts or by replying to its syndication on Mastodon, which will also be shown here as a Webmention ... or you leave a good old comment with your GitHub account.


No Webmentions yet...

In case your blog software can't send Webmentions, you can use this form to submit me a mention of this note...