Skip to content

Hitting enter sometimes goes to the last search entry the mouse was over in the docs #24044

Closed
@gsingh93

Description

@gsingh93

Here's an image of what some search results in the docs look like:
selection_007

Notice the color on the first entry. This means this entry is selected. I never clicked on this entry, but simply because this is the last entry my mouse was over, it was selected. This can happen to any entry in the search results. Now if I go back to the search bar and search anything, when I hit enter, instead of searching for my query, I go to the page of whatever previous search entry was selected.

This is probably my biggest annoyance with the docs right now. Until I sat down today and figured out exactly what was going on, I just dealt with the docs randomly deciding to go to random pages I never clicked on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions