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:
Vaibhav authored and GitHub committed 2026-03-26 07:02:43 -06:00
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) => {