react-navigation / react-navigation/react-navigation.github.io

How to enable custom transitions between screens?

Open
#898 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
324
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

I am using onPress={() => navigation.navigate('MyScreen')} to navigate between screens in my App and due to design requirements it would be necessary to have different transitions on some of them rather than the global one declared in <Stack.Navigator screenOptions...

How can I do this? - I don't see how to or that is not possible in the documentation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the documentation for the Stack.Navigator screenOptions and the navigation.navigate entry point mentioned in the issue. Document how to configure different transitions for individual screens, with an example showing a screen-specific transition alongside the global setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, react-native
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.