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")
This will do nothing when the state activates:
whereas this will animate
I'm guessing there's an
if(value)somewhere where there should be anif(typeof value == "number")