mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix: hooks form (#44231)
## TL;DR fixes the scroll behavior for the schema and function dropdowns in the auth Hooks form for sms & email ## Before: https://github.com/user-attachments/assets/dd930a4d-da48-4b75-94ba-22f37973fa0e ## After: https://github.com/user-attachments/assets/c08d4aff-d17d-4a8d-8a90-c6c111f28695 ## Related - closes https://github.com/supabase/supabase/issues/44222 - Same pattern as https://github.com/supabase/supabase/pull/44181
This commit is contained in:
1 parent
b87f6fa056
commit
aded2cade0
1 file changed
+2
@@ -373,6 +373,7 @@ export const CreateHookSheet = ({
|
||||
<SchemaSelector
|
||||
size="small"
|
||||
showError={false}
|
||||
stopScrollPropagation
|
||||
selectedSchemaName={field.value}
|
||||
onSelectSchema={(name) => field.onChange(name)}
|
||||
disabled={field.disabled}
|
||||
@@ -395,6 +396,7 @@ export const CreateHookSheet = ({
|
||||
size="small"
|
||||
schema={values.postgresValues.schema}
|
||||
value={field.value}
|
||||
stopScrollPropagation
|
||||
onChange={field.onChange}
|
||||
disabled={field.disabled}
|
||||
filterFunction={(func) => {
|
||||
|
||||
Reference in new issue
Block a user