Shadcn dialog and react-select position issue (z-index)
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
: