-
-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
then() method is firing error "TypeError: Cannot read property '4' of null" #256
Comments
@Mertas I think you need to set an initial value for scale and opacity before you try to animate that value into the .then chain. Else mojs don't know what to animate from. Let me know if it helps. |
No, unfortunately, id didn't, at least at first glance, getting the same error.
|
Oh, I've made a mistake in the last comment, but still, opacity in styles didn't help
|
@Mertas Can you make a Codesandbox or a Codepen with your problem? Tried putting your code here, and worked fine: https://codesandbox.io/s/issues-256-gofsb?file=/src/MojsExample.js |
I've made my React app not inside a That is one hell of a side effect! Thank you for the support! |
That's.. weird. But great you found the sollution yourself. You're welcome! |
I've tried different mo.js versions, different React versions - nothing helped. |
Hmm okey. Then it sound like something we could look into. I will reopen this and tag as bug. |
Hi all, I am in vacation right now, but I will give a try when I go back home 😉 |
Rect environment, this is a piece of my code. I cant make
then
to work. What am I doing wrong?The text was updated successfully, but these errors were encountered: