Skip to content

Modal | Pressing Escape "soft closes" the modal if onClickOutside isn't set #485

@aVileBroker

Description

@aVileBroker

If onClickOutside is not set and Esc is pressed, the modal "soft closes", where it doesn't get unmounted (because onClickOutside isn't set) but does animate away. It also blocks the page from interaction as a result.

AC

  • if onClickOutside isn't set, do nothing when Esc is pressed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions