Skip to content

Commit 116648b

Browse files
waleedlatif1claude
andcommitted
fix(tables): clear range selection on Shift+Space to prevent mixed state
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e25770b commit 116648b

File tree

1 file changed

+2
-0
lines changed
  • apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table

1 file changed

+2
-0
lines changed

apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table/table.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,8 @@ export function Table({
785785

786786
if (e.key === ' ' && e.shiftKey) {
787787
e.preventDefault()
788+
setSelectionAnchor(null)
789+
setSelectionFocus(null)
788790
setCheckedRows((prev) => {
789791
const next = new Set(prev)
790792
if (next.has(anchor.rowIndex)) {

0 commit comments

Comments
 (0)