Skip to content

Bug: KeyCommand, Unable to assign ESCAPE key as it closes the configuration window #423

@arklev

Description

@arklev

When configuring a KeyCommand, attempting to set the Keycode to ESCAPE causes the "New Command" window to close immediately.
The default UI behavior (Escape = Close Window) is in conflict with the input field's ability to capture that specific key.

To Reproduce Steps to reproduce the behavior:

  1. Open HASS.Agent and go to Commands.
  2. Click Add New.
  3. Select Key from the command type list.
  4. Click inside the Keycode text box.
  5. Press the ESCAPE key on your keyboard.
  6. The window closes instead of registering the key.

Expected behavior The Keycode field should capture the ESCAPE keypress and display it in the textbox without closing the configuration window.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed - not in betafix for this issue/request has been created but not yet released in any beta (manual build required)

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions