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

Autofocus search input #513

Closed
wants to merge 1 commit into from
Closed

Autofocus search input #513

wants to merge 1 commit into from

Conversation

jorgesumle
Copy link
Contributor

Because I don't like wasting my time using the mouse to focus on it.

Because I don't like wasting my time using the mouse to
focus on it.
@omarroth
Copy link
Contributor

Would appear to close #277.

As mentioned in the linked issue I would very much prefer for this to be implemented as a shortcut (see #501), as it is on YouTube.

@jorgesumle
Copy link
Contributor Author

A shortcut means one more keystroke, which means more wasted time, and very few people would actually use it because many don't know it exists. With autofocus, you don't have to select the field before you start typing to search a video. As a compromise for those who don't like that, a configuration setting could be implemented.

@omarroth
Copy link
Contributor

omarroth commented May 4, 2019

I don't like this as the default behavior because it's assuming the user's intent.

The only services I can find that have the search bar autofocused by default are search engines, where it makes much more sense to assume a user wants to search. Even then, only the landing page has the search bar auto-focused.

There's an open issue #449 for having a search page as the default landing page, where it would make sense to have it auto-focused.

very few people would actually use it because many don't know it exists

GitHub provides a 'hint" as a / icon, so I could see that as a good option here as well.

@jorgesumle
Copy link
Contributor Author

OK, I understand.

@jorgesumle jorgesumle closed this May 4, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants