Skip to content

Commit d053cf8

Browse files
committed
release v0.1.0
1 parent db8b725 commit d053cf8

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
v0.1.0 - Thu, 26 Feb 2015 17:14:27 GMT
2+
--------------------------------------
3+
4+
- [1b8e2d0](../../commit/1b8e2d0) [fixed] ModalPortal's componentWillReceiveProps
5+
- [28dbc63](../../commit/28dbc63) [added] Supporting custom overlay className closes #14
6+
- [6626dae](../../commit/6626dae) [fixed] erroneous alias in webpack build
7+
8+
19
v0.0.7 - Sat, 03 Jan 2015 06:44:47 GMT
210
--------------------------------------
311

bower.json

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

dist/react-modal.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,10 @@ var ModalPortal = module.exports = React.createClass({
113113
// Focus only needs to be set once when the modal is being opened
114114
if (!this.props.isOpen && newProps.isOpen) {
115115
this.setFocusAfterRender(true);
116-
}
117-
118-
if (newProps.isOpen === true)
119116
this.open();
120-
else if (newProps.isOpen === false)
117+
} else if (this.props.isOpen && !newProps.isOpen) {
121118
this.close();
119+
}
122120
},
123121

124122
componentDidUpdate: function () {

dist/react-modal.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-modal",
3-
"version": "0.0.7",
3+
"version": "0.1.0",
44
"description": "Accessible modal dialog component for React.JS",
55
"main": "./lib/index",
66
"repository": {

0 commit comments

Comments
 (0)