How to Fix Spotify Desktop Scrolling Lag and Performance Issues
TLDR; There is a horrible lag issue with spotify, spotify didn’t fix it yet, so basically I profile the app, detect the bug slowing it down, add some code to force hardware acceleration using the translate3d(0,0,0) trick, also add some perfomance hints using willChange.
before & after:
The performance issue makes using spotify so horrible that I considered switching to Tidal. Spotify knows about this, since many users complained in the forums, but they didn’t fix it yet, I love this app and don’t want to switch to Tidal, so I take matters in my own hands.
here is a video (i don’t delve into the technical details too extensively here, since the video is made for normal spotify users to help them fix the issue):
codes:
- here is the code
- spicetify plugin
not in the video, but i knew how to pinpoint the issue since on the performance tab, i saw when scrolling it spends most of the time in Layerize.

Updates
EDIT1: iHelops from the community created a spicetify plugin based on this fix.
EDIT2: Spotify finally fixed this issue after 1 year 🥳, no need for my patch anymore

EDIT3: for old versions of spotify, spicetify already includes this fix