1

I've got a really annoying bug for some time now.. and it's that animations doesn't work in the debug mode of a React-Native App properly. It takes about 5s until they get executed. In normal mode everything works fine. I don't know what the reason is and there is nothing useful about this bug on the internet, yet. So I decided to ask you ^^

Note

Used

Thank you ^^

1 Answer 1

0

While turning on the debugger react-native has to do a lot more work for displaying errors, consol.logs, redux state and all that so when react-native got busy with all these things animation got executed in the meantime have a look at this.

https://github.com/facebook/react-native/issues/5632#issuecomment-177299394

you can try to use InteractionManager to make animations smoother.

https://reactnative.dev/docs/0.26/interactionmanager

Sign up to request clarification or add additional context in comments.

2 Comments

Yeah that is right.. but is there a way to fix this... because my textinputs doesn't work properly without animations..
Does any good reason to run these animations in debug mode? have you used useNativeDriver ? or you can use InteractionactionManager to make the animation smoother.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.