@pinnacle0/react-stack-router
Advanced tools
Comparing version 0.1.3-beta.53 to 0.1.3-beta.54
@@ -26,2 +26,7 @@ import React from "react"; | ||
} | ||
// when mobile device not support el.animate | ||
if (typeof element.animate !== "function") { | ||
onEntered?.(); | ||
return; | ||
} | ||
const animation = element.animate(keyframe.frames, keyframe.options); | ||
@@ -46,2 +51,7 @@ animation.onfinish = () => { | ||
} | ||
// when mobile device not support el.animate | ||
if (typeof element.animate !== "function") { | ||
exited(); | ||
return; | ||
} | ||
const animation = element.animate(keyframe.frames, keyframe.options); | ||
@@ -48,0 +58,0 @@ animation.onfinish = exited; |
{ | ||
"name": "@pinnacle0/react-stack-router", | ||
"version": "0.1.3-beta.53", | ||
"version": "0.1.3-beta.54", | ||
"author": "Pinnacle", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
163615
2550