question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add animationTypeForReplace

See original GitHub issue

I would like to have animationTypeForReplace option for Stack.Screen.

animationTypeForReplace

The type of animation to use when this screen replaces another screen. It takes the following values:

push - The animation of a new screen being pushed will be used pop - The animation of a screen being popped will be used Defaults to push.

When pop is used, the pop animation is applied to the screen being replaced

See: https://reactnavigation.org/docs/stack-navigator#animationtypeforreplace

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
caiobioderecommented, Jun 9, 2020

@WoLewicki hey mate I was actually using it wrong, my navigator stack was being built all wrong fixed it following react navigation guides, thank you for being awesome and I think you should include this feat in the future

1reaction
enheitcommented, Apr 30, 2020

@WoLewicki I currently not able to check this functionality. If something will not be working as expected I will create another issue.

Thank you (:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stack Navigator | React Navigation
animationTypeForReplace ​. The type of animation to use when this screen replaces another screen. It takes the following values: push - The animation...
Read more >
animationTypeForReplace in React Native is not responding ...
I want to give pop animation to screens in my app when user navigate from one to another. so I implemented below code...
Read more >
Custom Screen Transitions in React Navigation | blog {callstack}
Wondering how to custom a screen transition animation in React Navigation? Check this step-by-step guide.
Read more >
Change React Native screen animation direction ... - ITNEXT
Fortunately, react-navigation 5 gives us opportunity to add our custom transitions to screens. Thanks to that we can create modal-like and stack ...
Read more >
createStackNavigator - React Navigation - Netlify
# animationTypeForReplace ... The type of animation to use when this screen replaces another screen. It takes the following values: ... Defaults to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found