File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " react-modal" ,
3- "version" : " 1.9.4 " ,
3+ "version" : " 1.9.5 " ,
44 "homepage" : " https://github.com/reactjs/react-modal" ,
55 "authors" : [
66 " Ryan Florence" ,
Original file line number Diff line number Diff line change 1+ c184ddf Add gzip size badge
2+ 38dfc8d Use callback ref in readme
3+ ea3e536 Add changelog entries from the v1 branch
4+ baa1751 [changed] Replace appElement with getAppElement
5+ 9cb8441 Update bundling scheme (#347)
6+ 37a6ceb Update README for issue close modal when user click on overlay (#352)
7+ a8b7aa0 [chore] use afterEach to cleanup modals automatically.
8+ ba2fe90 (v2.0) [fixed] respect closeTimeoutMS during unmount
9+ ebec638 [change] improve reliability on focus management.
10+ 6ba1c8d (restrry/master) [fixed] Enable click to close in iOS (#301) (#304) (#313)
11+ 75a1aa3 [fixed] Infinite loop in tab scoping
12+ 0dc486a Add sauce labs reporter for better SL statuses
13+ a1287bc Add cross browser testing via SauceLabs (#298)
14+ ad9e115 Updates License (#303)
15+ 8108173 Modify the sample code to es2015 syntax in README.md (#295)
16+ a776118 Get rid of CommonJS module (#299)
17+ b261459 Add sauce labs support
18+ d50918c [fixed] Fix `this` scope (#296)
19+ e10181d Add badges to readme
20+ 3d6142c Setup coveralls and fix some code climate stuff
21+ 721cc1e Add language for CC duplication engine
22+ a09ff8d Add code climate and code coverage
23+ 596f423 Add Linting (#293)
Original file line number Diff line number Diff line change @@ -139,6 +139,12 @@ return /******/ (function(modules) { // webpackBootstrap
139139 this . renderPortal ( this . props ) ;
140140 } ,
141141
142+ componentWillUpdate : function componentWillUpdate ( newProps ) {
143+ if ( newProps . portalClassName !== this . props . portalClassName ) {
144+ this . node . className = newProps . portalClassName ;
145+ }
146+ } ,
147+
142148 componentWillReceiveProps : function componentWillReceiveProps ( newProps ) {
143149 if ( newProps . isOpen ) refCount . add ( this ) ;
144150 if ( ! newProps . isOpen ) refCount . remove ( this ) ;
You can’t perform that action at this time.
0 commit comments