Fixed Modal Escape

This commit is contained in:
2018-07-09 12:26:43 +10:00
parent 17a68aeaf1
commit 3275a4ebd3

View File

@ -46,8 +46,6 @@ class Modal extends React.Component {
onKeyUp(e) { onKeyUp(e) {
if(!Keyboard.isEscape()) return; if(!Keyboard.isEscape()) return;
e.preventDefault();
e.stopPropagation();
this.props.closeModal(); this.props.closeModal();
} }