-
-
Notifications
You must be signed in to change notification settings - Fork 239
Open
Labels
Description
If I use the AlertDialog component with a Select on its inside, the select values won't pop up on the top layer:
To reproduce:
<AlertDialog>
<AlertDialogTrigger asChild>
<Button variant="outline">
<Text>Show Alert Dialog</Text>
</Button>
</AlertDialogTrigger>
<AlertDialogContent>
<Select>
<SelectTrigger>
<SelectValue
className="native:text-lg text-sm text-foreground"
placeholder={"Select the problem"}
/>
</SelectTrigger>
<SelectContent avoidCollisions>
<SelectGroup>
<SelectItem label="Apple" value="apple">
Apple
</SelectItem>
<SelectItem label="Banana" value="banana">
Banana
</SelectItem>
<SelectItem label="Blueberry" value="blueberry">
Blueberry
</SelectItem>
</SelectGroup>
</SelectContent>
</Select>
</AlertDialogContent>
</AlertDialog>