Angular2 Animation error during preceding animation: ERROR TypeError: Cannot read property hasOwnProperty of undefined
I carry:
ERROR TypeError: Cannot read property 'hasOwnProperty' of undefined
at http://0.0.0.0:4200/vendor.bundle.js:34007:40
at Array.forEach (native)
at WebAnimationsPlayer.init (http://0.0.0.0:4200/vendor.bundle.js:34006:32)
at InjectableAnimationEngine.DomAnimationEngine._queuePlayer (http://0.0.0.0:4200/vendor.bundle.js:33317:16)
at InjectableAnimationEngine.DomAnimationEngine.animateTransition (http://0.0.0.0:4200/vendor.bundle.js:33232:14)
at InjectableAnimationEngine.DomAnimationEngine.setProperty (http://0.0.0.0:4200/vendor.bundle.js:33103:18)
at AnimationRenderer.setProperty (http://0.0.0.0:4200/vendor.bundle.js:66773:26)
at DebugRenderer2.setProperty (http://0.0.0.0:4200/vendor.bundle.js:13520:23)
at setElementProperty (http://0.0.0.0:4200/vendor.bundle.js:9797:19)
at checkAndUpdateElementValue (http://0.0.0.0:4200/vendor.bundle.js:9716:13)
at checkAndUpdateElementInline (http://0.0.0.0:4200/vendor.bundle.js:9650:24)
at checkAndUpdateNodeInline (http://0.0.0.0:4200/vendor.bundle.js:12341:23)
at checkAndUpdateNode (http://0.0.0.0:4200/vendor.bundle.js:12316:16)
at debugCheckAndUpdateNode (http://0.0.0.0:4200/vendor.bundle.js:12945:59)
at debugCheckRenderNodeFn (http://0.0.0.0:4200/vendor.bundle.js:12924:13)
after the second animation is called while the previous animation is still running using @ angular / animations 4.0.2. if i finish the first animation the above error doesn't happen. how should i debug this?
this worked in @ angular 2.0.
EDIT: seems to be an issue https://github.com/angular/angular/issues/16470
+3
source to share
No one has answered this question yet
Check out similar questions: