fix: pointer events on empty view (#42618)

## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Minor bug fix: update table editor views
This commit is contained in:
Ali Waseem authored and GitHub committed 2026-02-09 10:42:57 -07:00
1 parent 3f6843a6b1
commit d9e0f01bf5
1 file changed
+1 -1
@@ -237,7 +237,7 @@ export const Grid = memo(
{(rows ?? []).length === 0 && (
<div
className={cn(
'absolute w-full inset-0 flex flex-col items-center justify-center p-2 z-[1]',
'absolute w-full inset-0 flex flex-col items-center justify-center p-2 z-[1] pointer-events-none',
isTableEmpty && isDraggedOver && 'border-2 border-dashed',
isValidFileDraggedOver ? 'border-brand-600' : 'border-destructive-600'
)}