Open Ihor997452 opened 1 year ago
same issue on Chrome
Hi, i'm having the same issue here. Did it get fixed ?
I'm also getting the same error
Experiencing same issue, is anyone working on this, or know of any workarounds?
<DropdownSection title="Theme" showDivider>
<DropdownItem
isReadOnly
key="theme"
startContent={<ThemeSwitcher />}
/>
</DropdownSection>
use isReadOnly
property in Dropdownitem
@charandeep7 That fixed it for me! Cheers, this was driving me crazy
@charandeep7 This causes the dropdown to stay opened. Did you happen to find something else please ?
Try this approach. It's not specific for NextUI but let's hope it's work. Link
On it, thank you. I'll get in touch if it works.
Thanks @charandeep7 it worked
NextUI Version
2.1.12
Describe the bug
Modal closes immediately if opened from the Dropdown component
Your Example Website or App
https://codesandbox.io/p/sandbox/twilight-moon-jfn36n
Steps to Reproduce the Bug or Issue
Expected behavior
Modal window is expected to be shown until discarded by user.
Screenshots or Videos
No response
Operating System Version
Linux
Browser
Firefox