File tree 5 files changed +13
-7
lines changed
5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change
1
+ v1.3.0 - Tue, 17 May 2016 16:04:50 GMT
2
+ --------------------------------------
3
+
4
+ - [ 9089a2d] ( ../../commit/9089a2d ) [ fixed] Make the modal portal render into body again (#176 )
5
+
6
+
1
7
v1.2.1 - Sat, 23 Apr 2016 19:09:46 GMT
2
8
--------------------------------------
3
9
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-modal" ,
3
- "version" : " 1.2.1 " ,
3
+ "version" : " 1.3.0 " ,
4
4
"homepage" : " https://github.com/rackt/react-modal" ,
5
5
"authors" : [
6
6
" Ryan Florence" ,
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ return /******/ (function(modules) { // webpackBootstrap
114
114
componentDidMount : function componentDidMount ( ) {
115
115
this . node = document . createElement ( 'div' ) ;
116
116
this . node . className = 'ReactModalPortal' ;
117
- AppElement . appendChild ( this . node ) ;
117
+ document . body . appendChild ( this . node ) ;
118
118
this . renderPortal ( this . props ) ;
119
119
} ,
120
120
@@ -124,7 +124,7 @@ return /******/ (function(modules) { // webpackBootstrap
124
124
125
125
componentWillUnmount : function componentWillUnmount ( ) {
126
126
ReactDOM . unmountComponentAtNode ( this . node ) ;
127
- AppElement . removeChild ( this . node ) ;
127
+ document . body . removeChild ( this . node ) ;
128
128
elementClass ( document . body ) . remove ( 'ReactModal__Body--open' ) ;
129
129
} ,
130
130
You can’t perform that action at this time.
0 commit comments