Skip to content

[Dialog] Remove disableEscapeKeyDown prop, in favor of using the onClose callback #27306

Open
@nzayatz14

Description

@nzayatz14

Is there any particular reason that the disableBackdropClick prop is deprecated on the Dialog component but the disableEscapeKeyDown prop is not?

I feel like they should either both be deprecated and handled the same way via the handleClose function, or neither should be deprecated.

Docs (v4.12.1) are currently showing:

Screen Shot 2021-07-15 at 2 23 31 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions