-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade react-navigation to 6.x #3078
Merged
Jag96
merged 18 commits into
Expensify:main
from
tugbadogan:tugbadogan-upgrade-react-navigation-drawer
Jun 8, 2021
Merged
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d9035f6
Merge branch 'Expensify:main' into master
tugbadogan 85dfdbf
Merge branch 'Expensify:main' into master
tugbadogan e76d11d
Upgrade react-navigation to 6.x
tugbadogan 2852e12
Resolved exceptions
tugbadogan 89b7caa
Fix android and web exceptions
tugbadogan a75fe58
Merge branch 'Expensify:main' into master
tugbadogan 2841b8f
Merge branch 'Expensify:main' into master
tugbadogan 536b839
Fix missing previous screen on web and desktop
tugbadogan 5319798
Merge branch 'master' into tugbadogan-upgrade-react-navigation-drawer
tugbadogan a729c8a
Fix Podfile.lock
tugbadogan dcb0cbd
Merge branch 'Expensify:main' into master
tugbadogan b434435
Merge branch 'master' into tugbadogan-upgrade-react-navigation-drawer
tugbadogan 0ac0c70
Fix lint errors
tugbadogan e613d11
Remove redundant comment
tugbadogan 37b3591
Fix empty chat and scroll issue on web
tugbadogan c0766f5
Upgrade react-native-screens version and remove detachInactiveScreens…
tugbadogan 9c067fd
Update Podfile.lock
tugbadogan aa81556
Add comment to presentation transparentModal
tugbadogan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I am not sure if we want this. Doesn't this mean that we are missing out on memory savings?
https://reactnavigation.org/docs/stack-navigator/#detachinactivescreens
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I don't set this prop, chat window view in the background doesn't work for modal views on web. We just have gray background.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, @tugbadogan how did you determine that setting that prop to false would fix the issue? Just wondering if there are alternate solutions since this has the side effect @marcaaron mentioned above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this by accident while looking at the documentation. But, we don't need this anymore as I fixed the issue by upgrading react-native-screens package version to >3.0.0 as required by react-navigation 6.x and used
presentation: 'transparentModal'
for modal screen options.