You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tables): row gutter click toggles select; select-all works under sort/filter
- Move row-toggle onMouseDown from inner checkbox div to entire gutter
<td> so clicking anywhere in the gutter cell toggles the row, matching
boolean cell behavior. Stop propagation on the per-row run button so
it doesn't double as a row toggle.
- Compute maxPosition via Math.max over loaded rows instead of
rows[last].position. Under sort, the last visual row's position is
not the largest position, so select-all/Ctrl+A produced a range that
missed rows whose position fell outside [0, lastVisualRow.position].
- Add minPosition for the same reason and use it as the select-all
anchor — under filter, position 0 may not be loaded, so anchoring at
0 produced a range that visually appeared empty.
- Re-derive isAllRowsSelected from "every loaded row's position is
within selection range" rather than checking exact start/end equality
against maxPosition, so the top-left checkbox highlight is correct
under any sort/filter state.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments