Skip to content

[Feat] In pop-up's, close pop-up by hitting ESC key. #26

Description

@plstcfntstc

Scope

In any pop-up such as settings/preferences/configuration pop-ups for an example, rather than hitting the close button, i'd like to be able to use the ESC key on my keyboard to close the pop-up.

Implementation Details

If a "Save preferences" option is added at a later point, i'd like for the ESC to close without saving preferences, otherwise the ESC should just act as a quick shortcut alternative to using my cursor to close something.

Risks and Alternatives

Users might exit unintentionally out of a window they actually intended to keep open due to fat fingers. To that i just laugh mockingly.

References and Media

Cucumbers for scale:

Image

Confirmation Checklist

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions