summaryrefslogtreecommitdiff
path: root/src/components/modals
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/modals')
-rw-r--r--src/components/modals/Modal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/modals/Modal.js b/src/components/modals/Modal.js
index 193746b3..6eebfb6e 100644
--- a/src/components/modals/Modal.js
+++ b/src/components/modals/Modal.js
@@ -42,6 +42,9 @@ class Modal extends React.Component {
if (this.visible) {
this.props.onCancel();
}
+ })
+ .on("keydown", e => {
+ e.stopPropagation();
});
}