Sounds like a typical styling error, need more information, can you provide the code from the component? incl. the css (looks like you use tailwind).
Also, how does the state management look like?
I assume you code looks something like this:
import React from 'react';
import * as Dialog from '@radix-ui/react-dialog';
import './styles.css';
import Select from 'react-select'
const options = [
{ value: 'chocolate', label: 'Chocolate' },
{ value: 'strawberry', label: 'Strawberry' },
{ value: 'vanilla', label: 'Vanilla' }
]
const DialogWithReactSelect = () => (
<Dialog.Root>
<Dialog.Trigger asChild>
<button className="Button violet">Open Dialog</button>
</Dialog.Trigger>
<Dialog.Portal>
<Dialog.Overlay className="DialogOverlay" />
<Dialog.Content className="DialogContent">
<Dialog.Title className="DialogTitle">This is a dialog</Dialog.Title>
<Dialog.Description className="DialogDescription">
This dialog contains a react-select component.
</Dialog.Description>
<Select options={options} />
</Dialog.Content>
</Dialog.Portal>
</Dialog.Root>
);
export default DialogWithReactSelect;