Keyboard text selection is bugged inside tables

Steps to reproduce

  1. Open a sandbox vault and create a new document

  2. Create a table

  3. Inside a cell of the table, type any text

  4. 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.

  5. Continue holding Shift, and tap the right arrow key to de-select text to the right.

Did you follow the troubleshooting guide? [Y/N]


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.


	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


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.

Thank you. Following these steps should allow you to reproduce the described behavior in the sandbox vault.


will be fixed 1.5.12.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.