Skip to content

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

Closed
@brandonkelly

Description

@brandonkelly

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions