Undo bring you back at the top of the file in editing text

Hi,
Everything is in the title. That happens when you delete a word or characters (but maybe not systematically). So that’s a bit annoying to go back where you were in the document :=)

Thanks,