This is very interesting, thanks for reporting! As far as Iām aware, the only recent commit which affects scrolling would be:
But if anything, I would have expected that to make scrolling smoother, not worse! (I switched this particular feature to use āpassiveā event listeners, rather than blocking event listeners)
As an experiment, I just made a theme here on Meta which removes those updated event listeners. https://meta.discourse.org/?preview_theme_id=260 (Named āExperiment - remove scroll listenerā in the hamburger) Does this theme fix the lagging for you?
I can repro here on Meta using my Pixel 4 XL running Android 12. I didnāt notice it until I read this topic. The best way to see it is to scroll short distances (~2cm on the screen) repeatedly.
Oh yes, youāre absolutely right! I totally missed that. This commit from yesterday refactored the --header-offset logic so that it runs all the time, rather than āonly when dockedā. That slowed down scroll performance. My fix made that logic more efficient, so thatās why itās working now.