Obsidian internal links and tag suggestions causes current line to be scrolled to the top of the viewport on Ipad/Iphone

Steps to reproduce

  • Create new file and create empty lines that span more than 1 page
  • Place typing cursor on the line near bottom of page
  • Type ![[]] or # to get auto complete suggestion to prompt

Expected result

  • Suggestions pop up with no change on the page scrolling position

Actual result

  • Suggestion pops up and the line is scrolled to near the top of the viewport

Environment

  • Operating system: IpadOS 15.5
  • Debug info:
    SYSTEM INFO:
    Operating system: ios 15.5 (Apple iPad)
    Login status: not logged in
    Live preview: on
    Legacy editor: on
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: on

RECOMMENDATIONS:
none


Additional information

which obsidian version?

Is this the default theme?

Current version: 1.2.3(57) apiv0.14.15

Yes I am using the default dark theme

I second the behavior showed by @signus !

I have been using Obsidian Mobile on iPadOS with mouse and keyboard and this is a behavior happens since the first versions of Obsidian Mobile.

90% of the time, when you open a modal, the screen position relative to the caret cursor changes after closing the modal.

This behavior is more easy to see when the caret cursor is placed in a active line that is in the bottom of the screen + the note has a lot of lines after the active line. (editing a line 45 of a 500 lines note where the line 45 is placed in the bottom of the screen).

  • Obsidian tries to relatively center the screen.

Example with Native Feature: Add Tags

:one: Command Palette → Add Tag
:two: Select Tag from Modal
:three: Hit enter to insert the selected tag

:eyes: Look how the screen moves…

:sos: The same behavior applies to plugins that uses Modals to insert text in the active Note like QuickAdd and Various Compliments for example.

Example with Third-Party Plugin: QuickAdd

:one: Command Palette → QuickAdd Macro
:two: Insert Text on Text field
:three: Hit enter to insert on Active Note

QuickAdd Modal

The screen moves