Skip to content

[Feature Request] Search input autofocus or keyboard shortcut #624

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

Closed
brandonkelly opened this issue Jun 29, 2018 · 0 comments · Fixed by #1848
Closed

[Feature Request] Search input autofocus or keyboard shortcut #624

brandonkelly opened this issue Jun 29, 2018 · 0 comments · Fixed by #1848
Labels
contribution welcome Contributions welcome good first issue Good for newcomers type: feature request Request to add a new feature

Comments

@brandonkelly
Copy link
Contributor

Feature request

What problem does this feature solve?

Users often rely heavily on the search functionality in docs, especially for large documentation sets, to the point where they immediately go to Search rather than trying to find things via the nav. So VuePress should make it easier for people to access the search input.

What does the proposed API look like?

N/A.

How should this be implemented in your opinion?

The search input should either be focussed automatically on page load, or VuePress should support a simple keyboard shortcut for focussing it (e.g. / like GitHub).

Are you willing to work on this yourself?**

Yes, time willing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome Contributions welcome good first issue Good for newcomers type: feature request Request to add a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants