Bug in New Table Component: Last Edit Gets Lost When Editing Multiple Cells

Perhaps this is not a bug and just unintuitive behavior. Reporting it nevertheless as it leads to confusion among our users.

Steps to reproduce:

  • Start with a table such as the one below (e.g. 2 or more editable text columns)
  • Edit one cell (e.g. change the value of cell(1,1) from row 1, col 1 before to row 1, col 1 after)
  • Edit another cell (e.g. change the value of cell(1,2) from row 1, col 2 before to row 1, col 2 after) and press Save without clicking outside the last cell

Expected behavior:
The changeset (table1.changesetArray) includes both cells

Actual behavior:
The changeset (table1.changesetArray) does not include the last edit

I think what's happening is that until you click outside the cell, it does not get considered as an actual change. When you only edit one cell this does not occur as the Save button only gets shown upon clicking outside the cell. Maybe this is intentional but it's not what our users expect. Is there a way around that?

Screen Shot 2023-09-18 at 4.42.06 PM
Screen Shot 2023-09-18 at 4.42.18 PM