Close and cancel ConfirmationDialog on Escape
This commit is contained in:
@@ -131,6 +131,7 @@ export const ConfirmationDialog = React.memo(
|
|||||||
modalName={modalName}
|
modalName={modalName}
|
||||||
noMouseClose={noMouseClose}
|
noMouseClose={noMouseClose}
|
||||||
onClose={close}
|
onClose={close}
|
||||||
|
onEscape={cancelAndClose}
|
||||||
onTopOfEverything={onTopOfEverything}
|
onTopOfEverything={onTopOfEverything}
|
||||||
overlayStyles={overlayStyles}
|
overlayStyles={overlayStyles}
|
||||||
theme={theme}
|
theme={theme}
|
||||||
|
Reference in New Issue
Block a user