-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Select doesnt work when put inside a Modal or a Drawer #4771
Comments
I cant since this only happens when i migrate from NextUI to HeroUI, im not sure why, but when i did that (migrate), i had to add this to my vite config for the app to start , i dont know if this has anything to do with the problem : PS : im on a monorepo (turborepo)
UPDATE : Rolled back to 2.6.13 and it worked |
is your repo public or ok to share? |
Unfortunately not, i cant share the code sorry, thanks for your help tho |
I've tried so many things, including cerating a simplistic repo with very similar setup I have, it works there though.
|
@Plesin have you tried the following steps: https://www.heroui.com/docs/guide/nextui-to-heroui#troubleshooting ? |
Hey @wingkwong I think I removed the lock file, but not sure about the node_modules. I guess I was expecting the lock file would be enough for the CI. Also working outside of the modal got me confused. The migration using |
HeroUI Version
2.6.14
Describe the bug
When i use a Select component inside a Modal (ModalBody) or a Drawer (DrawerBody) nothing happens, i even used the same Select inside a modal and outside it (in a simple div) and it works fin outside
PS : I tried deleting the packahe lock and deleted node_modules then reinstalled everything, i also tried Firefox :)
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
1 - Create a Modal component
2 - Create Select component
3 - Put the Select in the ModalBody of the Modal
Expected behavior
The list of options should appear as it did "outside" the modal
Screenshots or Videos
OUTSIDE
![Image](https://private-user-images.githubusercontent.com/83469994/408329910-28b2b77b-903a-4728-9b63-118e63a6fc66.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODYwMzgsIm5iZiI6MTczODk4NTczOCwicGF0aCI6Ii84MzQ2OTk5NC80MDgzMjk5MTAtMjhiMmI3N2ItOTAzYS00NzI4LTliNjMtMTE4ZTYzYTZmYzY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDAzMzUzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmMTdlZDI3MjEzYThmNWVlMGVhMzQ0NTcwYTQ2ZDJiYjU2M2IzNDM1ZjNhMTFhYmZiMTIyMDBlOTBmYzI1YWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.9I0MqhHV2qbdbOmAzAEJ8g3I2MzhlUBZrGxeWzNj_jU)
Operating System Version
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: