tgrosinger / advanced-tables-obsidian

Improved table navigation, formatting, and manipulation in Obsidian.md
GNU General Public License v3.0
2.15k stars 80 forks source link

Tabbing to a new column indents row instead #273

Open half-adder opened 1 year ago

half-adder commented 1 year ago

Describe the bug Pressing tab sometimes indents the row a number of times before advancing the cursor to the next column.

To Reproduce Steps to reproduce the behavior:

  1. Create a new table,
  2. press enter to create a new row,
  3. optionally enter something in the first column
  4. hit tab to advance to the next column.
  5. See that occasionally, the entire row is indented a number of times before the cursor advances to the next column.

Expected behavior Tabbing should advance the cursor to the next column and not indent

Screenshots Recording 2023-07-10 122950

Desktop (please complete the following information):

Additional context I tested this on a completely new vault with Advanced tables being the only installed community plugin, with no 3rd party themes installed.

memeplex commented 1 year ago

I'm not sure whether this is the same issue, but I was going to report that when tabbing on the first empty column, the row is indented:

image
khorton commented 1 year ago

Work Around: It works correctly if you pause a moment after the new row is created before you hit Tab. if you Tab too soon, the row is indented. If you wait, Tab works as expected.