rc-dialog
Advanced tools
Comparing version 4.3.1 to 4.3.2
@@ -47,7 +47,8 @@ 'use strict'; | ||
anim: function anim(el, transitionName, animation, enter, fn) { | ||
var props = this.props; | ||
if (!transitionName && animation) { | ||
transitionName = prefixClsFn(this.props.prefixCls, animation + (enter ? '-enter' : '-leave')); | ||
transitionName = '' + props.prefixCls + '-' + animation; | ||
} | ||
if (transitionName) { | ||
_anim(el, transitionName, fn); | ||
_anim(el, transitionName + (enter ? '-enter' : '-leave'), fn); | ||
} else if (fn) { | ||
@@ -54,0 +55,0 @@ fn(); |
{ | ||
"name": "rc-dialog", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "dialog ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
25242
662