Fixed Modal Escape
This commit is contained in:
1 parent
17a68aeaf1
commit
3275a4ebd3
1 file changed
-2
@@ -46,8 +46,6 @@ class Modal extends React.Component {
|
||||
|
||||
onKeyUp(e) {
|
||||
if(!Keyboard.isEscape()) return;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
this.props.closeModal();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user