diff --git a/lib/components/ModalPortal.js b/lib/components/ModalPortal.js index b7db99c7..dcbfe8a3 100644 --- a/lib/components/ModalPortal.js +++ b/lib/components/ModalPortal.js @@ -142,7 +142,10 @@ var ModalPortal = module.exports = React.createClass({ handleKeyDown: function(event) { if (event.keyCode == 9 /*tab*/) scopeTab(this.refs.content, event); - if (event.keyCode == 27 /*esc*/) this.requestClose(); + if (event.keyCode == 27 /*esc*/) { + event.preventDefault(); + this.requestClose(); + } }, handleOverlayClick: function() {