-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(a11y): enhance keyboard interaction in search mode (#592)
* feat(a11y): enhance keyboard interaction in search mode * refactor(a11y): synchronize activeKey with search state * fix: lint fix * feat: default active first item * chore: remove useless test case * feat: default active first item * refactor: merge active effect logic * chore: adjust code style * fix: type fix * feat: adjust active effect logic * fix: lint fix * chore: remove useless code * feat: flatten tree to match first node * chore: add .vscode to gitignore file * feat: improve flatten treeData * feat: improve flatten treeData * chore: adjust code style * perf: optimize tree node searching with flattened data * chore: add comment * revert: restore recursive node search * chore: remove unnecessary logic * chore: remove unnecessary logic * chore: adjust logic * test: use testing-library * fix: keep active matched item when search
- Loading branch information
1 parent
919dced
commit a16f0f0
Showing
6 changed files
with
291 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ dist | |
build | ||
lib | ||
coverage | ||
.vscode | ||
yarn.lock | ||
package-lock.json | ||
es | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.