I was using typescript-ts-mode. Also just tried js-mode but it gave the same results.

сб, 7 дек. 2024 г. в 22:26, Eli Zaretskii <eliz@gnu.org>:
[Please use Reply All to reply, so as to keep the bug tracker CC'ed.]

> From: spl3g <spleefer6@gmail.com>
> Date: Sat, 7 Dec 2024 22:12:50 +0300
>
> Oh, I think it is mostly my configuration's fault. But I could reproduce it a little bit with emacs -Q if I set (setq
> scroll-conservatively 101) and move beyond the screen.

I tried that now with scroll-conservatively, but I still cannot
reproduce.

What is the major mode in the buffer where you see this?