W
Wasp•5mo ago
MrCharlss

Issues with shadcn select component and dialog

Kind of a weird question but has anyone had issues with select component from shadcn? The content for the select appears behind the dialog and is not accessible. Btw this is using shadcn@2.3 not the latest. I've tested the exact same thing outside wasp and it's working as usual... Just wondering if it has something to do with shadcn version or something 🤔
2 Replies
kapa.ai
kapa.ai•5mo ago
Hi @MrCharlss. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the knowledge sources do not contain any specific information about issues with the shadcn select component rendering behind dialogs in Wasp, nor do they address version-specific problems with shadcn@2.3. There are discussions about installing and using shadcn/ui with Wasp, and some users have reported success following certain setup steps, but no details are provided about z-index or overlay issues with select components inside dialogs. If you continue to experience this issue, you might want to check the z-index stacking context or portal rendering of the select dropdown, but unfortunately, the knowledge sources do not provide guidance on this particular problem. If you need more help, consider sharing your issue in the Wasp Discord for more targeted support, as others may have encountered and solved similar UI integration issues recently How to install shadcn ui has anyone got shadcn to work with wasp?. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @MrCharlss, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
miho
miho•5mo ago
This is weird, if you can, please as much code as you can so we can try reproducing it and seeing what's going on 🙂

Did you find this page helpful?