When using the text tool, pressing any key while the text cursor is offscreen causes the view to jump back to being centered on the text cursor, even if the key that's pressed doesn't actually type a character. This is particularly problematic when trying to zoom or horizontally scroll since these require holding Ctrl and Shift respectively, so the view will repeatedly snap back to the text if you try to scroll anywhere else.
Additionally, if the text cursor goes near or off the edge of the canvas, this will happen even if the cursor is still onscreen, causing the view to repeatedly jump when attempting to zoom/scroll at all. It also doesn't always center on the cursor, sometimes it will snap to the center of the canvas or other unexpected locations.
Given the unintuitive and inconsistent behavior of this, I'm inclined to think it's a bug/oversight.
Videos of the issue:
- Case 1 (view snaps to cursor when it's offscreen even if no text is typed)
- Case 2 (cursor near edge of canvas, view snaps to cursor even when it's onscreen)
- Case 3 (cursor near edge of canvas, view snaps to center of canvas)