Random freezes (screen unresponsive) while scrolling (started after Android 10 upgrade)

I’ve been having this issue since upgrading to Android 10 last year, and it seems even more frequent since the last update a few days ago.

It never happens in Firefox, only Chrome and apps using the embedded webview. It just happened while reading this thread. Subjectively, it seems more likely to happen on long pages, but it might just be that it’s caused by scrolling and long pages require more scrolling.

After pressing the square and going back to the app it seems that any clicks or scrolls done while the screen was frozen have actually taken effect, it’s just the UI didn’t redraw to show those changes.

I also used to get ghost touches, but this is different.