Skip to content

fix(find-bar): 支持 Shift+Enter 在查找栏中查找上一个#10

Open
haorui-lab wants to merge 1 commit into
davidhoo:mainfrom
haorui-lab:main
Open

fix(find-bar): 支持 Shift+Enter 在查找栏中查找上一个#10
haorui-lab wants to merge 1 commit into
davidhoo:mainfrom
haorui-lab:main

Conversation

@haorui-lab

Copy link
Copy Markdown

将 .onSubmit 替换为 .onKeyPress(.return),根据修饰键区分:
Enter 触发 onFindNext(),Shift+Enter 触发 onFindPrevious(), 补齐查找栏内反向遍历匹配的快捷操作。

将 .onSubmit 替换为 .onKeyPress(.return),根据修饰键区分:
Enter 触发 onFindNext(),Shift+Enter 触发 onFindPrevious(),
补齐查找栏内反向遍历匹配的快捷操作。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant