Clicking on the shift+enter inside cell causes screen jumping

I have automatic formatting turned on.

So far I thought that the screen was jumping around because of the formatting. It was very frustrating but still justifiable.

I just noticed that it jumps around when the code is already saved (formatted) and I just scroll at a different area of the cell and then click shift+enter to run the cell

scr

Can you share your notebook? There might be something asynchronous that is causing the DOM to reflow, which would then cause content to move around like this when the cell is evaluated. I suspect it is not related to Prettier formatting.

I’ve just reproduced it in this notebook (Happened after changing the cursor position 5-6 times and clicking shift+enter while changing it)

Macos => Chrome Version 94 (I don’t exactly remember when it started, happening 4-7 months now)

fp