Cursor jumps to previous location when changing task status in Live Preview on mobile

Platform: Android (Obsidian Mobile)


Issue Description

When changing the status of a task (e.g., from “done” to “cancelled”) in Live Preview, the cursor jumps to its previous location instead of moving to the current task. This disrupts the editing process, especially when working with tasks in long notes.


Steps to Reproduce

  1. Open a note in Live Preview mode on Android.

  2. Place the cursor somewhere in the file (not near the task you will edit).

  3. Scroll down or up to a different location in the note.

  4. Click on the checkbox of a task to change its status (e.g., - → - ).

  5. Observe how the cursor jumps back to the previous location instead of staying with the task being edited.


Expected Behavior

When changing the status of a task, the cursor should move to the start of the task’s text (the line being clicked).


Actual Behavior

The cursor jumps to the previous position in the note, requiring manual scrolling and refocusing on the task.


Workarounds

Use Source Mode or Reading View, as this issue does not occur there. However, these modes lack the convenience of Live Preview for editing.


Environment

Obsidian Version: 1.7.7

Android Version: 14 (MIUI 1.0.9.0, UKQ1.230804.001)

Device: POCO F5 Pro

Plugins: Issue occurs even on a fresh installation without plugins.


Additional Context

This issue is highly disruptive for task management workflows on mobile. There are no specific settings to disable this behavior, and it appears to be tied to how Live Preview handles cursor focus.

I can’t reproduce this problem. Can you post a screen recording of this happening with v1.8.4 on a new empty vault?