Skip to content

Demo: Esc hides focus instead of returns it back #32

@uzurpastor

Description

@uzurpastor

OS: Fedora 40
Browser: Firefox 128.0, Chromium 126.0

It seems to me that incorrect behaviour is taking place here. When the Esc key is pressed, the focus does not return to the body of the first element.

But I'm sure this may depend on the specific use case, so I have an idea to provide both behaviours via some "configuration" variables, if the current lib implementation makes it easy to implement this.

ER:

  • return focus to the top

AR:

  • hide focus

Screencast:

Screencast.from.2024-08-02.11-46-11.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions