Skip to content

refactor: [IOPLT-1437] Update react-navigation to v7#7837

Open
LeleDallas wants to merge 87 commits intomasterfrom
IOPLT-000-update-navigator
Open

refactor: [IOPLT-1437] Update react-navigation to v7#7837
LeleDallas wants to merge 87 commits intomasterfrom
IOPLT-000-update-navigator

Conversation

@LeleDallas
Copy link
Copy Markdown
Contributor

@LeleDallas LeleDallas commented Feb 4, 2026

Short description

This pull request updates navigation-related dependencies and refactors navigation options throughout the codebase to align with the latest React Navigation API.

Important

Check out this guide

List of changes proposed in this pull request

  • Upgraded @react-navigation/bottom-tabs, @react-navigation/native, @react-navigation/native-stack, and @react-navigation/stack to the latest major versions in package.json, ensuring compatibility with recent React Navigation features and API changes
  • Introduced IngressStackNavigator, wrapping the IngressScreen in a stack navigator for the INITIAL startup state, improving navigation consistency during app initialization. That was necessary since the app was lock at initial screen
  • Replaced deprecated or removed navigation options (animationEnabled, headerBackTitleVisible) with their modern equivalents (animation, headerBackButtonDisplayMode) in multiple navigators and screens for compatibility with the updated React Navigation API.
  • Updated imports to use the new module paths for StackNavigationEventMap and createStackNavigator.

How to test

Ensure that there are no animation glitches at navigation

Preview

Master IOPLT-000
Screen.Recording.2026-02-05.at.10.40.48.mov
Screen.Recording.2026-02-04.at.16.10.33.mov

Warning

iOS text input autofocus issue

Screen.Recording.2026-02-19.at.11.50.25.mov

Note

Found a workaround to solve it → pagopa/io-app-design-system#536

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 4, 2026

Jira Pull Request Link

This Pull Request refers to Jira issues:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 4, 2026

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

Comment thread ts/navigation/AppStackNavigator.tsx Outdated
Copy link
Copy Markdown
Contributor

@CrisTofani CrisTofani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR LGTM, tested on iOS simulator checking few deep link too.

I'd suggest to wait at least another review before merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants