աӄա 7df2c71ecc
fix(dropdown): focus behaviour on press / enter keydown (#2970)
* fix(dropdown): set focus on the first item

* feat(dropdown): add keyboard interactions tests

* feat(changeset): add changeset

* fix(dropdown): use fireEvent.keyDown instead

* chore(deps): add @nextui-org/test-utils to dropdown

* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus

* chore(dropdown): remove autoFocus

* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps

* chore(changeset): add menu package
2024-05-19 16:40:28 -03:00
..
2024-04-01 14:52:40 -03:00

@nextui-org/dropdown

Displays a list of actions or options that a user can choose.

Please refer to the documentation for more information.

Installation

yarn add @nextui-org/dropdown
# or
npm i @nextui-org/dropdown

Contribution

Yes please! See the contributing guidelines for details.

License

This project is licensed under the terms of the MIT license.