Skip to content

fix: a selected cell shows its whole text above the grid - #235

Merged
bencode merged 1 commit into
mainfrom
fix/cell-bar
Oct 26, 2026
Merged

bencode merged 1 commit into
mainfrom
fix/cell-bar

Conversation

@bencode

@bencode bencode commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Every column in the sheet and CSV grids is 160px with an ellipsis, so a long cell could not be read in the reader, while the assistant read it whole.

  • Clicking a cell selects it, and a bar above the grid shows its address and whole text, with the cell's own line breaks, scrolling past five lines. Nothing changes until a cell is selected; another sheet or an edited CSV draft clears the selection.
  • Arrow keys move the selection once the grid has focus, scrolling the row (through the virtualizer) and the column into view. The bar is aria-live, so the selection is announced as it moves.
  • A bar rather than a popover per cell: the rows are virtualized, so a cell can unmount under its popover, and one bar needs one piece of state.
  • The scroll area is now a labelled section that takes focus, so it can be scrolled from the keyboard. Biome's noNoninteractiveTabindex is ignored there, with the reason.

Checked end to end with a workbook holding a two-line cell (address, both lines, → to the next cell, switching sheets clears it) and the tutorial's Observation log.csv.

Closes #207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant