I want to render react-select
dropdown inside shadcn
dialog
. I’m rendering select
using portal to document.body
and the problem is that once it is open, I cannot click it because its somehow rendered behind the dialog
. Here is how it looks like in devtools
:
Dialog has position fixed
with z-index
set to 50
and select
is rendred after with z-idnex
set to 9999
. Even though It appers on top of dialog
, I cannot click it. Any suggestions?