react-redux-toastr
Advanced tools
Comparing version 4.4.5 to 4.4.6
@@ -0,1 +1,5 @@ | ||
#4.4.6 | ||
Fix animation side effect. | ||
(issue)[https://github.com/diegoddox/react-redux-toastr/issues/102] | ||
#4.2.1 | ||
@@ -2,0 +6,0 @@ Add method `removeByType`. |
@@ -56,2 +56,3 @@ 'use strict'; | ||
_this.intervalId = null; | ||
_this.ignoreIsHiding = false; | ||
@@ -96,2 +97,3 @@ _this.transitionIn = transitionIn || _this.props.transitionIn; | ||
this.ignoreIsHiding = true; | ||
@@ -282,4 +284,5 @@ if (onCloseButtonClick) { | ||
if (this.isHiding) { | ||
if (this.isHiding || this.ignoreIsHiding) { | ||
this._setIsHiding(false); | ||
this.ignoreIsHiding = false; | ||
remove(id); | ||
@@ -286,0 +289,0 @@ if (options.onHideComplete) { |
{ | ||
"name": "react-redux-toastr", | ||
"version": "4.4.5", | ||
"version": "4.4.6", | ||
"description": "react-redux-toastr is a React toastr message implemented with Redux", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -27,2 +27,3 @@ import CSSCore from 'fbjs/lib/CSSCore'; | ||
this.intervalId = null; | ||
this.ignoreIsHiding = false; | ||
@@ -80,2 +81,3 @@ this.transitionIn = transitionIn || this.props.transitionIn; | ||
let {onCloseButtonClick} = this.props.item.options; | ||
this.ignoreIsHiding = true; | ||
@@ -237,4 +239,5 @@ if (onCloseButtonClick) { | ||
if (this.isHiding) { | ||
if (this.isHiding || this.ignoreIsHiding) { | ||
this._setIsHiding(false); | ||
this.ignoreIsHiding = false; | ||
remove(id); | ||
@@ -241,0 +244,0 @@ if (options.onHideComplete) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110158
2193