From 3275a4ebd379b22ce52a07ed9f82c54f30b55cee Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Mon, 9 Jul 2018 12:26:43 +1000 Subject: [PATCH] Fixed Modal Escape --- public/modal/Modal.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/modal/Modal.jsx b/public/modal/Modal.jsx index ba1686e..75c2a5d 100644 --- a/public/modal/Modal.jsx +++ b/public/modal/Modal.jsx @@ -46,8 +46,6 @@ class Modal extends React.Component { onKeyUp(e) { if(!Keyboard.isEscape()) return; - e.preventDefault(); - e.stopPropagation(); this.props.closeModal(); }