nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Select doesn't work in dropdown

Open ELF-VIGO opened this issue 1 year ago • 11 comments

HeroUI Version

2.6.14

Describe the bug

If you put a Select control into a DropdownItem, the Select doesn't work: it doesn't show its dropdown. I use this in a previous version, 2.4.8.

Thank you and greetings from Vigo, Spain.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

https://codesandbox.io/p/devbox/nextui-date-picker-test-forked-j9yqnw?workspaceId=ws_CsbrKMuvckCKAYoUsdgiQP Push the button to open de dropdown and then try to use the inner select.

Expected behavior

Select should work.

Screenshots or Videos

No response

Operating System Version

Windows

Browser

Chrome

ELF-VIGO avatar Feb 06 '25 06:02 ELF-VIGO

Please share the full code or even a sandbox is better.

wingkwong avatar Feb 06 '25 07:02 wingkwong

Here a sandbox: https://codesandbox.io/p/devbox/nextui-date-picker-test-forked-j9yqnw?workspaceId=ws_CsbrKMuvckCKAYoUsdgiQP

ELF-VIGO avatar Feb 10 '25 14:02 ELF-VIGO

i have the same issue but in a modal, the select doesn't work into a modal.

slothgeek avatar Feb 10 '25 19:02 slothgeek

i have the same issue but in a modal, the select doesn't work into a modal.

I use autocomplete into a modal and it works. I don't use Select in this case. You could fork my sandbox and add an example to open a new issue.

ELF-VIGO avatar Feb 11 '25 06:02 ELF-VIGO

i have the same issue but in a modal, the select doesn't work into a modal.

I use autocomplete into a modal and it works. I don't use Select in this case. You could fork my sandbox and add an example to open a new issue.

I updated the sandbox with a Modal example and it works with HeroUI 2.4.8. You can see the code there.

ELF-VIGO avatar Feb 11 '25 15:02 ELF-VIGO

i have the same issue but in a modal, the select doesn't work into a modal.

I have the issue too.

just-ads avatar Feb 17 '25 09:02 just-ads

i have the same issue but in a modal, the select doesn't work into a modal.

I have the issue too.

What version do you use? Can you check it with the example in the sandbox? I don't have this issue.

ELF-VIGO avatar Feb 19 '25 07:02 ELF-VIGO

I also had the same problem. Select didn't work in modal. By updating the HeroUI version from 2.6.14 to 2.72 it worked again!

AlessioPorcasi avatar Feb 19 '25 16:02 AlessioPorcasi

Resolved with HeroUI 2.7.2. Thanks.

ELF-VIGO avatar Feb 21 '25 09:02 ELF-VIGO

Resolved with HeroUI 2.7.2.

ELF-VIGO avatar Feb 21 '25 09:02 ELF-VIGO