Closed timdoes closed 9 years ago
Interesting, I will need to look into it. Perhaps LayoutAnimation is unable to handle nested animations.
Regardless, LayoutAnimation is probably too limited for rn-drawer (cannot animate opacity for example) so I want to try replacing it with a raf/tweenState solution which will probably solve the error above.
what version of react-native are you on?
Version 0.4.0
The state of animations in react-native appears to be in flux. For now I am adding setTimeout(fn, 0) which fixes the problem, albeit inelegantly. In the future I will reconsider other animation options.
Just pushed v0.0.6, let me know if that fixes it for you
Thank you very much. This fixed the issue.
Hi,
When I close the drawer and replace the Navigator route at the same time, I get this error:
Unsupported layout animation createConfig property (null)
Here are the contents of my method:
I'm not sure if this is a react-native issue or a rn-drawer issue so I thought I'd ask you here first.
Thanks for the help, -Tim