nextui
nextui copied to clipboard
[BUG] - `isDisabled` does not disable dropdown
NextUI Version
2.2.9
Describe the bug
As described in the docs, adding an isDisabled
prop and setting it to true does not disable a dropdown
Your Example Website or App
https://stackblitz.com/edit/stackblitz-starters-xzrmx5?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue
- Create a dropdown
- Add
isDisabled
prop - Use the dropdown
Expected behavior
the dropdown should be disabled
Screenshots or Videos
No response
Operating System Version
MacOS
Browser
Firefox
So the intent here is that Trigger components, such as MenuTrigger, when disabled, will not show their associated menu.
From the other ticket. If this is the case my repro link will show that not happening. I'm fine adding my own disabled state and such but adding the prop should not let the menu open I would think? @Alex20180512
So the intent here is that Trigger components, such as MenuTrigger, when disabled, will not show their associated menu.
From the other ticket. If this is the case my repro link will show that not happening. I'm fine adding my own disabled state and such but adding the prop should not let the menu open I would think? @Alex20180512
I think so. But I'm not sure what with that.
Hey all! thanks for the report! Yes, I could successfully reproduce the bug in my local. Cheers!