Skip to content

Commit 825fd00

Browse files
committed
Release v2.2.3.
1 parent 1caabed commit 825fd00

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v2.2.3 - Thu, 10 Aug 2017 19:25:44 UTC
2+
--------------------------------------
3+
4+
5+
6+
17
v2.2.2 - Tue, 11 Jul 2017 14:20:05 UTC
28
--------------------------------------
39

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-modal",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"homepage": "https://github.com/reactjs/react-modal",
55
"authors": [
66
"Ryan Florence",

dist/react-modal.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ return /******/ (function(modules) { // webpackBootstrap
188188
}, {
189189
key: 'componentWillUnmount',
190190
value: function componentWillUnmount() {
191-
if (!this.node) return;
191+
if (!this.node || !this.portal) return;
192192

193193
var state = this.portal.state;
194194
var now = Date.now();
@@ -1898,6 +1898,7 @@ return /******/ (function(modules) { // webpackBootstrap
18981898
Based on code that is Copyright 2013-2015, Facebook, Inc.
18991899
All rights reserved.
19001900
*/
1901+
/* global define */
19011902

19021903
(function () {
19031904
'use strict';

0 commit comments

Comments
 (0)