Scrolling broken in electron apps after update

I recently updated from Debian Trixie to unstable (Sid).

Meaning i now run GNOME Shell 49.2 on wayland

This update caused Spotify & YTMD (youtube music) to develop a weird bug that fixes itself after you alt-tab or the app loses focus.

Seemingly randomly, the app freaks out and forces my scroll downwards. Forcing it to scroll upwards does nothing. And it will keep forcefully scrolling downwards until you lose focus. In youtube music, it sometimes even forcefully yanks the song to the very beginning, gradually (forcing the playback bar, like someone is dragging it)

It’s also impossible to screen record the issue, because losing focus of the window fixes it.

This does not happen in native gnome apps, or Firefox.

I have found nobody else experiencing it.

Also loaded up an XFCE (X11) session, and things worked as expected.

Are these XWayland apps? You can check by running xlsclients.
Could be related to:

Debian Testing has had a systemd bug that affects xwayland since around November 22. Other distros that have adopted systemd 259 rc1 or rc2 may be affected too.

I’ve fixed this by installing GitHub - lucasresck/gnome-shell-extension-alt-tab-scroll-workaround: Quick fix to the bug where scrolling in one application is repeated in another when switching between them using Alt+Tab (e.g., VS Code and Chrome)

Even tho the extension isn’t directly built for fixing this issue - it worked regardless.

I also updated & upgraded, so coincidentally that may have fixed it (and not the extension)