Skip to content

Commit d52238c

Browse files
committed
release v1.3.0
1 parent 9089a2d commit d52238c

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
v1.2.1 - Sat, 23 Apr 2016 19:09:46 GMT
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": "1.2.1",
3+
"version": "1.3.0",
44
"homepage": "https://github.com/rackt/react-modal",
55
"authors": [
66
"Ryan Florence",

dist/react-modal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ return /******/ (function(modules) { // webpackBootstrap
114114
componentDidMount: function componentDidMount() {
115115
this.node = document.createElement('div');
116116
this.node.className = 'ReactModalPortal';
117-
AppElement.appendChild(this.node);
117+
document.body.appendChild(this.node);
118118
this.renderPortal(this.props);
119119
},
120120

@@ -124,7 +124,7 @@ return /******/ (function(modules) { // webpackBootstrap
124124

125125
componentWillUnmount: function componentWillUnmount() {
126126
ReactDOM.unmountComponentAtNode(this.node);
127-
AppElement.removeChild(this.node);
127+
document.body.removeChild(this.node);
128128
elementClass(document.body).remove('ReactModal__Body--open');
129129
},
130130

0 commit comments

Comments
 (0)