-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Cross): [IOAPPX-217] Add
NativeStackNavigator
to the Design S…
…ystem section (#5424) > [!note] > This PR depends on #5415 > [!caution] > This PR causes some issues to the `RootModal` component, as pointed out by @shadowsheep1: #5415 (review) ## Short description This PR adds the new `NativeStackNavigator` to the Design System section. This change enables a true native modal behaviour on iOS (including _pull down to dismiss_), other than a native navigation on both platforms. ## List of changes proposed in this pull request - Use `createNativeStackNavigator` to create the native navigator - Remove previously nested navigator thanks to the new API offered by the `6.x` version - Update `react-native-screens` - Add the new `@react-navigation/native-stack` package ### Preview https://github.com/pagopa/io-app/assets/1255491/b1877c26-12d0-44d6-b728-3296e87c33c7 ## How to test Launch the local app and go to the **Design System** section --------- Co-authored-by: Cristiano Tofani <cri.tofani@gmail.com> Co-authored-by: Mario Perrotta <mario.perrotta@pagopa.it> Co-authored-by: LazyAfternoons <lazyafternoons@outlook.it> Co-authored-by: Fabio Bombardi <16268789+shadowsheep1@users.noreply.github.com> Co-authored-by: Federico Mastrini <federicomastrini93@gmail.com> Co-authored-by: Alessandro Dell'Oste <alessandro.delloste1@gmail.com>
- Loading branch information
1 parent
7829b38
commit 1c2f8c5
Showing
52 changed files
with
2,078 additions
and
674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.