diff --git a/src/Modal.js b/src/Modal.js index 8be7f96032..ed4db06466 100644 --- a/src/Modal.js +++ b/src/Modal.js @@ -216,10 +216,14 @@ const Modal = React.createClass({ let { animation, bsClass } = this.props; let duration = Modal.BACKDROP_TRANSITION_DURATION; + // Don't handle clicks for "static" backdrops + let onClick = this.props.backdrop === true ? + this.handleBackdropClick : null; + let backdrop = (
);