The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix Tab accessibility issues with popup modals
Neeraj Walia5619b06cc4f3
diff --git a/packages/ui/src/components/Checkbox/Checkbox.tsx b/packages/ui/src/components/Checkbox/Checkbox.tsxindex 0f325e4a18a..396ffa8a22f 100644--- a/packages/ui/src/components/Checkbox/Checkbox.tsx+++ b/packages/ui/src/components/Checkbox/Checkbox.tsx@@ -159,7 +159,11 @@ export function Checkbox({if (values && checked === undefined) active = values[id || name]function handleBlurEvent(e: React.FocusEvent<HTMLInputElement>) {- if (handleBlur) handleBlur(e)+ if (handleBlur) {+ setTimeout(() => {+ handleBlur(e)+ }, 100)+ }if (onBlur) onBlur(e)}diff --git a/packages/ui/src/components/Input/Input.tsx b/packages/ui/src/components/Input/Input.tsxindex b570a71c1ff..031fbfda561 100644--- a/packages/ui/src/components/Input/Input.tsx+++ b/packages/ui/src/components/Input/Input.tsx@@ -81,7 +81,11 @@ function Input({if (values && !value) value = values[id || name]function handleBlurEvent(e: React.FocusEvent<HTMLInputElement>) {- if (handleBlur) handleBlur(e)+ if (handleBlur) {+ setTimeout(() => {+ handleBlur(e)+ }, 100)+ }if (onBlur) onBlur(e)}@@ -267,7 +271,11 @@ function TextArea({if (values && !value) value = values[id || name]function handleBlurEvent(e: React.FocusEvent<HTMLTextAreaElement>) {- if (handleBlur) handleBlur(e)+ if (handleBlur) {+ setTimeout(() => {+ handleBlur(e)+ }, 100)+ }if (onBlur) onBlur(e)}