Skip to content
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

Don't clear old search term when entering new search term. #3804

Closed
jmdejong opened this issue Jul 16, 2020 · 1 comment
Closed

Don't clear old search term when entering new search term. #3804

jmdejong opened this issue Jul 16, 2020 · 1 comment

Comments

@jmdejong
Copy link
Contributor

When searching for a certain term, that term is displayed in the search bar.
When clicking the search bar, a search window pops up with a new empty search input.
The old search term is not in the input anymore.

This is annoying when the new search term is very similar to the old search term; for example when you made a typo in the old search term and you want to correct that.
There is no way to change the search term without completely re-entering the search term.

My prefered solution would be to show the old search term in the search input field.
Clearing the field manually is only a minimal effort.
If the text is selected then clearing it is usually only one keypress of any key except an arrow key.
Search inputs for all other websites that I know of work like this.

I'm not entirely sure if this is even intended behaviour. I have tested this in both firefox 78.0.2 and opera 69.0.3686.57 and it gave the same behaviour.

@Calinou
Copy link
Member

Calinou commented Jul 16, 2020

This is an issue with the Sphinx search plugin, which isn't developed by us. Please report it here instead: https://github.com/readthedocs/readthedocs-sphinx-search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants