-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Search when invoked should get prefilled from the currently selected text #1729
Comments
Can I work on this issue? |
@MaanasArora Yes, you are always welcomed to make PRs. |
@MaanasArora Did you manage to solve the issue? If not I would like to work on it as well :) |
As of v16 (see #1311) the search box is prefilled with currently highlighted text in global search. But the box is still not focussed. And I'm not able to unfocus/return on hitting 'Esc' |
I added the more specific issue #2294 for the unimplemented parts of this issue. So I think this issue may be closed. |
Description
Unlike the global search (Ctrl+Shift+F) the local search (Ctrl+F) when invoked gets prefilled from the currently selected text as a search query.
I don't know if the behavior is intentional but in my opinion the global search should also get prefilled from the currently selected text.
Steps to reproduce
Expected behavior:
The search query input field should receive the focus.
The search query input field should be prefilled from the currently selected text, similarly how the local search is implemented.
Actual behavior:
The search query input field is not focused nor prefilled.
Versions
The text was updated successfully, but these errors were encountered: