Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(a11y): enhance keyboard interaction in search mode #592
feat(a11y): enhance keyboard interaction in search mode #592
Changes from 9 commits
e2112e9
0411b7a
481c983
a9efbc7
9b51e4a
f4f76ab
b99d2fb
644bf9d
89900b8
2659bd1
bf62a42
e3ef3e5
516d0b8
750de00
945f128
467b056
37d7cfc
86cf480
134f4f4
5d29cc0
4640c4d
229f4f7
9c7ad27
6f5a84c
97bde6c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有没有
searchValue
你的 matchNode 逻辑应该都是一样的。要么都是 selectable 的,要么都是非 disabled 的。可以考虑直接从 virtualList 里获取,这样也不需要递归,并且给出来的 TreeNode 本来就是过滤完的。There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用 testing lib