We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32f6c77 commit 2309ee7Copy full SHA for 2309ee7
1 file changed
apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table-grid/table-grid.tsx
@@ -2272,10 +2272,10 @@ export function TableGrid({
2272
if (target.isContentEditable) return
2273
if (target.closest('[role="dialog"]')) return
2274
if (!containerRef.current) return
2275
- e.preventDefault()
2276
const rws = rowsRef.current
2277
const currentCols = columnsRef.current
2278
if (rws.length > 0 && currentCols.length > 0) {
+ e.preventDefault()
2279
suppressFocusScrollRef.current = true
2280
setEditingCell(null)
2281
setRowSelection((prev) => (prev.kind === 'none' ? prev : ROW_SELECTION_NONE))
0 commit comments