Skip to content

Commit

Permalink
release v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
claydiffrient committed May 17, 2016
1 parent 9089a2d commit d52238c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v1.3.0 - Tue, 17 May 2016 16:04:50 GMT
--------------------------------------

- [9089a2d](../../commit/9089a2d) [fixed] Make the modal portal render into body again (#176)


v1.2.1 - Sat, 23 Apr 2016 19:09:46 GMT
--------------------------------------

Expand Down
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.2.1",
"version": "1.3.0",
"homepage": "https://github.com/rackt/react-modal",
"authors": [
"Ryan Florence",
Expand Down
4 changes: 2 additions & 2 deletions dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ return /******/ (function(modules) { // webpackBootstrap
componentDidMount: function componentDidMount() {
this.node = document.createElement('div');
this.node.className = 'ReactModalPortal';
AppElement.appendChild(this.node);
document.body.appendChild(this.node);
this.renderPortal(this.props);
},

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

componentWillUnmount: function componentWillUnmount() {
ReactDOM.unmountComponentAtNode(this.node);
AppElement.removeChild(this.node);
document.body.removeChild(this.node);
elementClass(document.body).remove('ReactModal__Body--open');
},

Expand Down
Loading

0 comments on commit d52238c

Please sign in to comment.