react-stack-cards
react-stack-cards copied to clipboard
tyle-value-types.es.js
hello
whene hovering i get this error in the console and the Dom get slow down:
Uncaught (in promise) TypeError: Cannot read property 'red' of null
at isRgba (style-value-types.es.js:94)
at Object.test (style-value-types.es.js:215)
at getActionCreator (popmotion.es.js:686)
at Object.vectorAction [as spring] (popmotion.es.js:673)
at getAction (popmotion-pose.es.js:320)
at convertTransitionDefinition (popmotion-pose.es.js:412)
at resolveTransition (pose-core.es.js:88)
at resolveTransition (pose-core.es.js:75)
at pose-core.es.js:191
at new Promise (
Location : style-value-types.es.js:94
but evry thing work good
Hi. Please send your code
hello whene hovering i get this error in the console and the Dom get slow down: Uncaught (in promise) TypeError: Cannot read property 'red' of null at isRgba (style-value-types.es.js:94) at Object.test (style-value-types.es.js:215) at getActionCreator (popmotion.es.js:686) at Object.vectorAction [as spring] (popmotion.es.js:673) at getAction (popmotion-pose.es.js:320) at convertTransitionDefinition (popmotion-pose.es.js:412) at resolveTransition (pose-core.es.js:88) at resolveTransition (pose-core.es.js:75) at pose-core.es.js:191 at new Promise () at pose-core.es.js:176 at Array.map () at getParentAnimations (pose-core.es.js:169) at Object.set (pose-core.es.js:218) at Object.update (popmotion-pose.es.js:487) at Observer.updateObserver (popmotion.es.js:94) at HTMLDivElement.Observer.update (popmotion.es.js:77)
Location : style-value-types.es.js:94
but evry thing work good
How is your component look like in code? This error caused by style subsystem and you might put wrong style. Anyway I have to look to your code
Hi @yoloten. Thanks for the great work.
Unfortunately, I get the same error as well. Actually, the same error is happening in your own demo: https://yoloten.github.io/react-stack-cards/.
Try use the TinderLikeCard
component and you will see that the error appearing in the console. I hope it helps!
@valerioleo hi, thank you for response. It's strange but now I'm getting that error too. I'll try to fix that soon)