Commit ad34616
fix(tables): only add real row positions in shift-click range select
Previously the loop added every integer from..to, which in sparse
tables (with deleted rows) could add thousands of phantom gap positions.
Now iterates positionMap to only add positions with actual rows.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3e51e1c commit ad34616
File tree
1 file changed
+3
-2
lines changed- apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
542 | 543 | | |
543 | 544 | | |
544 | | - | |
545 | | - | |
| 545 | + | |
| 546 | + | |
546 | 547 | | |
547 | 548 | | |
548 | 549 | | |
| |||
0 commit comments