Escape key to close workout editor

In the workout editor, I would love to be able to close an unmodified workout with the Escape key, basically the same as clicking Cancel. This would let me quickly view several workouts in turn from my library without moving the mouse across the screen to close each one :slight_smile:

2 Likes

I just tested that and escape does close the editor for me, both from the library and calendar?

Hm, for me it works from the calendar but not from the library. This is with Firefox 97 and Chromium 98 on Linux.

I took another look at this today.

When I open the editor from the library, the keyboard focus is on the “Name” field. Pressing Escape stops the cursor from blinking but doesn’t close the editor. If I click on an inactive part of the editor (such as below the time-in-zone chart) to move focus away from the “Name” field, then pressing Escape closes the editor.

When I open the workout editor from the calendar, the focus is not initially on an editable field, and pressing Escape closes the editor. If I click on the “Name” field first, then it behaves the same as opening the editor from the Library.

I hope that makes sense. I know it’s a small thing but it would be cool to have the same editor behavior in both contexts.

1 Like