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
when you focus on the DropdownItem (after pressing tab until it gets focused), and then press Enter or Space, it closes without selecting the item. it was working on v2.2.10.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Go to a page that has Dropdown and other components
open dropdown, and focus on the first item
press space or enter
Nothing gets selected
<Dropdown><DropdownTrigger><Button>Trigger</Button></DropdownTrigger><DropdownMenuaria-label="Actions"color={color}variant={variant}><DropdownItemkey="new"onPress={()=>console.log("NOT WORKING WITH ENTER / SPACE")}>
New file
</DropdownItem><DropdownItemkey="copy">Copy link</DropdownItem><DropdownItemkey="edit">Edit file</DropdownItem><DropdownItemkey="delete"className="text-danger"color="danger">
Delete file
</DropdownItem></DropdownMenu></Dropdown>
Expected behavior
Pressing the keyboard "Enter" or "Space" should select the item.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered:
NextUI Version
2.4.0
Describe the bug
when you focus on the DropdownItem (after pressing tab until it gets focused), and then press Enter or Space, it closes without selecting the item. it was working on v2.2.10.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
Pressing the keyboard "Enter" or "Space" should select the item.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: