Skip to content
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

Cannot animate to opacity: 0 #24

Open
evelant opened this issue Apr 19, 2020 · 0 comments
Open

Cannot animate to opacity: 0 #24

evelant opened this issue Apr 19, 2020 · 0 comments

Comments

@evelant
Copy link

evelant commented Apr 19, 2020

This will do nothing when the state activates:

WhenState(inactiveState, {opacity: 0})

whereas this will animate

WhenState(inactiveState, {opacity: 0.01})

I'm guessing there's an if(value) somewhere where there should be an if(typeof value == "number")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant