Skip to content

Pressing Escape key makes rapid requests, even with no modals open #214

@kamilst96

Description

@kamilst96

Issue: When pressing Escape key, the app makes requests, even when no modals are open.
When holding the key, it becomes a horse race on network tab.

If I understand correctly, this is because of some kind of shared event listener.
Would it be possible to track how many modals are open, and skip requests if there is none?
Alternatively, maybe some kind of throttling, if the first option is not viable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions