The touchscreen Select All command no longer works properly in notes that contain YAML front matter. Instead of selecting the entire text, it merely moves the cursor to the beginning of the note. A few details:
The issue only occurs in notes with YAML front matter, and isn’t triggered by other kinds of code blocks.
Rather than selecting all text, Select All merely moves the cursor to the beginning of the note.
The bug is specific to Obsidian (or Capacitor). Select All works normally when the same notes with YAML front matter are opened in 1Writer and iA Writer.
Open a note containing YAML front matter in the iOS version of Obsidian.
Trigger the iOS Select All command by tapping or holding the cursor anywhere in the note.
Tap “Select All” in the pop-up menu.
All text in the note is selected.
The cursor moves to the beginning of the note and no text is selected.
The bug has been confirmed to occur on at least two devices running two different versions of iOS:
- iPhone 13 running iOS 15.6.1
- iPhone Xs Max running iOS 16.0.3
Another user posted a screencast of the bug’s behavior on the Discord.