react-stack-cards icon indicating copy to clipboard operation
react-stack-cards copied to clipboard

tyle-value-types.es.js

Open uranium93 opened this issue 5 years ago • 4 comments

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

uranium93 avatar Aug 20 '19 16:08 uranium93

Hi. Please send your code

yoloten avatar Aug 21 '19 10:08 yoloten

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

yoloten avatar Aug 21 '19 12:08 yoloten

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 avatar Feb 06 '20 21:02 valerioleo

@valerioleo hi, thank you for response. It's strange but now I'm getting that error too. I'll try to fix that soon)

yoloten avatar Feb 06 '20 22:02 yoloten