I tried to change css with z-index property, but that didn't work, so. I have mi Select in an atom component with:
const variant = {
control: (baseStyles) => ({
...baseStyles,
border: '2px solid gray',
color: 'black',
fontSize: '15px'
}),
menu: (basesStyles) => ({
...basesStyles,
zIndex: 9999
})
}
I use this code style for styles propoerty from Select:
return (
<div className="form-group">
<Select
id={name}
name={name}
styles={variant} />
</div>
)
Good day!