Skip to content

Rustdoc: Help dialog doesn't open when the ? key is not behind Shift #75386

Closed
@runiq

Description

I'm using a weird keyboard layout which doesn't put the ? key behind Shift, which stopped me from ever viewing the help popup in Rustdoc. If I had managed to open the help popup, I would have learned about the incredibly useful type-based search feature much sooner. 👍

As far as I can tell, the code responsible is here: It's checking for ev.shiftKey unconditionally, but I believe it's only supposed to check when ev.key is undefined.

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions