Skip to content

Commit 705c0b0

Browse files
chrisbobbegnprice
authored andcommitted
deps: Temporarily use fork for @react-navigation/stack
(Much like we did for @react-navigation/bottom-tabs in c0b17bd.) To get chrisbobbe/react-navigation@a588dcee9, which I've published to NPM in @zulip/[email protected]. It cherry-picks react-navigation/react-navigation@5a1987708, which fixes #5486, as noted there: #5486 (comment) So this fix will become unnecessary when we're on React Navigation 6; that's issue #4936. Tested the bugfix on my iPhone 13 Pro running iOS 16.1, with and without "Debug with Chrome". The bug was fixed, and back navigation worked as expected, both with the swipe gesture and the back button. Fixes: #5486
1 parent a5c4e70 commit 705c0b0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@react-navigation/bottom-tabs": "npm:@zulip/[email protected]",
3333
"@react-navigation/material-top-tabs": "^5.2.19",
3434
"@react-navigation/native": "^5.7.6",
35-
"@react-navigation/stack": "^5.9.3",
35+
"@react-navigation/stack": "npm:@zulip/[email protected]",
3636
"@sentry/react-native": "^3.1.1",
3737
"@zulip/shared": "0.0.18",
3838
"base-64": "^1.0.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2274,10 +2274,10 @@
22742274
dependencies:
22752275
nanoid "^3.1.15"
22762276

2277-
"@react-navigation/stack@^5.9.3":
2278-
version "5.14.9"
2279-
resolved "https://registry.yarnpkg.com/@react-navigation/stack/-/stack-5.14.9.tgz#49c7b9316e6fb456e9766c901e0d607862f0ea7d"
2280-
integrity sha512-DuvrT9P+Tz8ezZLQYxORZqOGqO+vEufaxlW1hSLw1knLD4jNxkz8TJDXtfKwaz//9gb43UhTNccNM02vm7iPqQ==
2277+
"@react-navigation/stack@npm:@zulip/[email protected]":
2278+
version "5.14.10-0.zulip.1"
2279+
resolved "https://registry.yarnpkg.com/@zulip/react-navigation-stack/-/react-navigation-stack-5.14.10-0.zulip.1.tgz#df71b85946c3deac0bbec59e40b349da77a48930"
2280+
integrity sha512-lZDs1CFSir3HJMhEi4Dy+AlF7o6OLAe9oNB4+c7hVdlYW4WgS0BzRBjN/lgZSWKCdx9KepeoCi6CUXS99tknkA==
22812281
dependencies:
22822282
color "^3.1.3"
22832283
react-native-iphone-x-helper "^1.3.0"

0 commit comments

Comments
 (0)