0

I am using the react-navigation library with docs here: https://reactnavigation.org/docs/en/params.html. I would like to transition to a new view with simple parameters, ie:

this.props.navigation.navigate('newView', {animation: 'fade-in'})

However I see no API for this, and a google search turned up nothing. Any thoughts?

1 Answer 1

1

You should define all your custom transition effects when you initiate your navigator, not inside a screen, like in here. Also, base on my understanding, transition effects are available only with stack navigator.

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

Comments

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.