@gem-sdk/core 1.23.0-staging.293 → 1.23.0-staging.294

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,9 +67,11 @@ const useLivePageAnimation = (wrapperRef, settings, tag)=>{
67
67
  removeZeroOpacity
68
68
  ]);
69
69
  const cancelAppear = react.useCallback(()=>{
70
+ removeZeroOpacity();
70
71
  if (!animationAppearInstance.current) return;
71
72
  animationAppearInstance.current.cancel();
72
73
  }, [
74
+ removeZeroOpacity,
73
75
  animationAppearInstance
74
76
  ]);
75
77
  const playHover = react.useCallback((e)=>{
@@ -65,9 +65,11 @@ const useLivePageAnimation = (wrapperRef, settings, tag)=>{
65
65
  removeZeroOpacity
66
66
  ]);
67
67
  const cancelAppear = useCallback(()=>{
68
+ removeZeroOpacity();
68
69
  if (!animationAppearInstance.current) return;
69
70
  animationAppearInstance.current.cancel();
70
71
  }, [
72
+ removeZeroOpacity,
71
73
  animationAppearInstance
72
74
  ]);
73
75
  const playHover = useCallback((e)=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.23.0-staging.293",
3
+ "version": "1.23.0-staging.294",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",