Skip to content

Commit b908042

Browse files
committed
Release v2.2.4.
1 parent fafa127 commit b908042

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v2.2.4 - Mon, 14 Aug 2017 09:40:50 UTC
2+
--------------------------------------
3+
4+
5+
6+
17
v2.2.3 - Thu, 10 Aug 2017 19:25:44 UTC
28
--------------------------------------
39

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-modal",
3-
"version": "2.2.3",
3+
"version": "2.2.4",
44
"homepage": "https://github.com/reactjs/react-modal",
55
"authors": [
66
"Ryan Florence",

dist/react-modal.js

+5
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,10 @@ return /******/ (function(modules) { // webpackBootstrap
13491349
_this.shouldClose = false;
13501350
};
13511351

1352+
_this.handleContentOnMouseDown = function () {
1353+
_this.shouldClose = false;
1354+
};
1355+
13521356
_this.requestClose = function (event) {
13531357
return _this.ownerHandlesClose() && _this.props.onRequestClose(event);
13541358
};
@@ -1496,6 +1500,7 @@ return /******/ (function(modules) { // webpackBootstrap
14961500
className: this.buildClassName('content', className),
14971501
tabIndex: '-1',
14981502
onKeyDown: this.handleKeyDown,
1503+
onMouseDown: this.handleContentOnMouseDown,
14991504
onClick: this.handleContentOnClick,
15001505
role: this.props.role,
15011506
'aria-label': this.props.contentLabel

0 commit comments

Comments
 (0)