Comparing version 2.4.1 to 2.4.2
@@ -127,2 +127,3 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; | ||
// Rest step is sync update | ||
if (step in eventHandlers) { | ||
@@ -160,2 +161,4 @@ var _eventHandlers$step; | ||
setAsyncVisible(visible); | ||
var isMounted = mountedRef.current; | ||
mountedRef.current = true; | ||
@@ -166,4 +169,2 @@ if (!supportMotion) { | ||
var isMounted = mountedRef.current; | ||
mountedRef.current = true; | ||
var nextStatus; // Appear | ||
@@ -170,0 +171,0 @@ |
@@ -146,2 +146,3 @@ "use strict"; | ||
// Rest step is sync update | ||
if (step in eventHandlers) { | ||
@@ -179,2 +180,4 @@ var _eventHandlers$step; | ||
setAsyncVisible(visible); | ||
var isMounted = mountedRef.current; | ||
mountedRef.current = true; | ||
@@ -185,4 +188,2 @@ if (!supportMotion) { | ||
var isMounted = mountedRef.current; | ||
mountedRef.current = true; | ||
var nextStatus; // Appear | ||
@@ -189,0 +190,0 @@ |
{ | ||
"name": "rc-motion", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "React lifecycle controlled motion library", | ||
@@ -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
89820
1936