Skip to content

Commit d9e0f01

Browse files
authored
fix: pointer events on empty view (supabase#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
1 parent 3f6843a commit d9e0f01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/studio/components/grid/components/grid

apps/studio/components/grid/components/grid/Grid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export const Grid = memo(
237237
{(rows ?? []).length === 0 && (
238238
<div
239239
className={cn(
240-
'absolute w-full inset-0 flex flex-col items-center justify-center p-2 z-[1]',
240+
'absolute w-full inset-0 flex flex-col items-center justify-center p-2 z-[1] pointer-events-none',
241241
isTableEmpty && isDraggedOver && 'border-2 border-dashed',
242242
isValidFileDraggedOver ? 'border-brand-600' : 'border-destructive-600'
243243
)}

0 commit comments

Comments
 (0)