Skip to content

ENTER and ESCAPE handlers for Modal elements #395

Description

@joaoLouceiro

Hi all!

First of all, thanks for all the work.
I've been using VIA for quite some time, now and... Well, it works!

There's this small thing that nags me a bit:
When adding a custom QMK Keycode, I am always reaching for ENTER when I finish whatever I am typing. It just feels like it should confirm what I am doing and close the modal.

Just so there are no mix-ups, this is what I am talking about :
Image

Having to pick up the Mouse just to press "Confirm" or "Cancel" is just a bummer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions