Skip to content

Commit

Permalink
Release v1.9.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Jun 15, 2017
1 parent 3139e85 commit 34e81db
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-modal",
"version": "1.9.4",
"version": "1.9.5",
"homepage": "https://github.com/reactjs/react-modal",
"authors": [
"Ryan Florence",
Expand Down
23 changes: 23 additions & 0 deletions commits.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
c184ddf Add gzip size badge
38dfc8d Use callback ref in readme
ea3e536 Add changelog entries from the v1 branch
baa1751 [changed] Replace appElement with getAppElement
9cb8441 Update bundling scheme (#347)
37a6ceb Update README for issue close modal when user click on overlay (#352)
a8b7aa0 [chore] use afterEach to cleanup modals automatically.
ba2fe90 (v2.0) [fixed] respect closeTimeoutMS during unmount
ebec638 [change] improve reliability on focus management.
6ba1c8d (restrry/master) [fixed] Enable click to close in iOS (#301) (#304) (#313)
75a1aa3 [fixed] Infinite loop in tab scoping
0dc486a Add sauce labs reporter for better SL statuses
a1287bc Add cross browser testing via SauceLabs (#298)
ad9e115 Updates License (#303)
8108173 Modify the sample code to es2015 syntax in README.md (#295)
a776118 Get rid of CommonJS module (#299)
b261459 Add sauce labs support
d50918c [fixed] Fix `this` scope (#296)
e10181d Add badges to readme
3d6142c Setup coveralls and fix some code climate stuff
721cc1e Add language for CC duplication engine
a09ff8d Add code climate and code coverage
596f423 Add Linting (#293)
6 changes: 6 additions & 0 deletions dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ return /******/ (function(modules) { // webpackBootstrap
this.renderPortal(this.props);
},

componentWillUpdate: function componentWillUpdate(newProps) {
if (newProps.portalClassName !== this.props.portalClassName) {
this.node.className = newProps.portalClassName;
}
},

componentWillReceiveProps: function componentWillReceiveProps(newProps) {
if (newProps.isOpen) refCount.add(this);
if (!newProps.isOpen) refCount.remove(this);
Expand Down
Loading

0 comments on commit 34e81db

Please sign in to comment.