Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Revert change in MultiSelect component

Joshen Limccdb83e123f3
diff --git a/studio/components/ui/MultiSelect/index.tsx b/studio/components/ui/MultiSelect/index.tsx
index 622457e435f..6c78b84a762 100644
--- a/studio/components/ui/MultiSelect/index.tsx
+++ b/studio/components/ui/MultiSelect/index.tsx
@@ -132,18 +132,16 @@ export default function MultiSelect({
ref={ref}
>
<Popover
- portalled
sideOffset={4}
side="bottom"
align="start"
style={{ width }}
- onOpenChange={() => setSearchString('')}
header={
<div className="flex items-center space-x-2 py-1">
<IconSearch size={14} />
<input
autoFocus
- className="w-full bg-transparent text-sm placeholder-scale-1000 outline-none"
+ className="w-72 bg-transparent text-sm placeholder-scale-1000 outline-none"
value={searchString}
placeholder={searchPlaceholder}
onKeyPress={onKeyPress}
@@ -235,6 +233,7 @@ export default function MultiSelect({
)}
</div>
}
+ onOpenChange={() => setSearchString('')}
>
<div
className={[