Steps to reproduce
-
Open a sandbox vault and create a new document
-
Create a table
-
Inside a cell of the table, type any text
-
With the text cursor at the very end of the text in that cell, hold Shift and press the left arrow key to begin selecting text to the left, one letter at a time.
-
Continue holding Shift, and tap the right arrow key to de-select text to the right.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
The cursor should move to the right, deselecting text letter by letter, until there is no text selected.
Actual result
Instead, the cursor does not move back to the right. You can’t incrementally de-select text once you’ve started incrementally selecting it from the end of a table cell.
Environment
SYSTEM INFO:
Obsidian version: v1.5.8
Installer version: v1.4.16
Operating system: Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:27 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8103 23.3.0
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
Note that this only happens when you begin selecting text from the very end of the cell. If you place the cursor in the middle of some text and begin selecting to the left, the cursor will correctly move back to the right when you press the right arrow key. However, considering how tables are used, the context where the bug appears is probably the most common text selection context.