You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: <select> inside dropdown closes immediately when opened #4537
Thank you @tuomastik
for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
In the meantime providing more details and reproduction links would be
helpful.
I wouldn't suggest putting a select in a dropdown. It's not a good user experience. User opens a dropdown and inside the dropdown there's another dropdown basically...
In this case i would suggest radio inputs inside the dropdown. It would be way easier for the user.
Or if it needs to be a select, don't put it in a dropdown.
Activity
github-actions commentedon May 29, 2026
Thank you @tuomastik for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.
pdanpdan commentedon May 29, 2026
Do not use a focus controlled drop-down.
When opening the select the drop-down loses focus.
User some other type of drop-down
FranRDev commentedon Jun 1, 2026
Same bug, it used to work.
PabacoDev commentedon Jun 1, 2026
I have the same bug. It works perfectly in browsers that use the Firefox engine.
Will there be a solution?
pdanpdan commentedon Jun 1, 2026
Either this or use an unstyled select https://daisyui.com/components/select/#using-os-native-style-for-the-options-dropdown
But first solution is the normal one
saadeghi commentedon Jun 1, 2026
I wouldn't suggest putting a select in a dropdown. It's not a good user experience. User opens a dropdown and inside the dropdown there's another dropdown basically...
In this case i would suggest radio inputs inside the dropdown. It would be way easier for the user.
Or if it needs to be a select, don't put it in a dropdown.
Please let me know if you have any questions.