Skip to content

Commit 509f696

Browse files
committed
chore: updated @gorhom/portal
1 parent fb702c2 commit 509f696

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"start": "react-native start"
1010
},
1111
"dependencies": {
12-
"@gorhom/portal": "^0.1.1",
12+
"@gorhom/portal": "^0.1.2",
1313
"@gorhom/showcase-template": "^1.0.2",
1414
"@react-native-community/blur": "^3.6.0",
1515
"@react-native-community/masked-view": "0.1.10",

example/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -818,10 +818,10 @@
818818
dependencies:
819819
"@types/hammerjs" "^2.0.36"
820820

821-
"@gorhom/portal@^0.1.1":
822-
version "0.1.1"
823-
resolved "https://registry.yarnpkg.com/@gorhom/portal/-/portal-0.1.1.tgz#efdf137cc6689dababe7a244b13f0f77e888d1f9"
824-
integrity sha512-sXoZF2UjcSgGKaB73srdIV+c5R6pWdiETvmg3ujyE3hTli9aVXfx2NaSdLMK8g85JN6rCSYpV44iuCa/Vf0r9Q==
821+
"@gorhom/portal@^0.1.2":
822+
version "0.1.2"
823+
resolved "https://registry.yarnpkg.com/@gorhom/portal/-/portal-0.1.2.tgz#183d7aab36eca10fb6a982a8f30eaa20932bebe6"
824+
integrity sha512-oHRcbXyZ4U3Iyfby93nBSj539NzaFdGJvQlhdryT5piEegeEC2gE+b414v1vjxs+2GwYB/Mwbx/F8Ja83XeeHA==
825825
dependencies:
826826
lodash.isequal "^4.5.0"
827827
nanoid "^3.1.20"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"bootstrap": "yarn install && yarn example"
3838
},
3939
"dependencies": {
40-
"@gorhom/portal": "^0.1.1",
40+
"@gorhom/portal": "^0.1.2",
4141
"invariant": "^2.2.4",
4242
"lodash.isequal": "^4.5.0",
4343
"nanoid": "^3.1.20",

src/components/bottomSheetModal/BottomSheetModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const BottomSheetModalComponent = forwardRef<
189189

190190
// render
191191
return mount ? (
192-
<Portal key={key}>
192+
<Portal key={key} name={key}>
193193
<BottomSheet
194194
{...bottomSheetProps}
195195
ref={bottomSheetRef}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,10 +1181,10 @@
11811181
minimatch "^3.0.4"
11821182
strip-json-comments "^3.1.1"
11831183

1184-
"@gorhom/portal@^0.1.1":
1185-
version "0.1.1"
1186-
resolved "https://registry.yarnpkg.com/@gorhom/portal/-/portal-0.1.1.tgz#efdf137cc6689dababe7a244b13f0f77e888d1f9"
1187-
integrity sha512-sXoZF2UjcSgGKaB73srdIV+c5R6pWdiETvmg3ujyE3hTli9aVXfx2NaSdLMK8g85JN6rCSYpV44iuCa/Vf0r9Q==
1184+
"@gorhom/portal@^0.1.2":
1185+
version "0.1.2"
1186+
resolved "https://registry.yarnpkg.com/@gorhom/portal/-/portal-0.1.2.tgz#183d7aab36eca10fb6a982a8f30eaa20932bebe6"
1187+
integrity sha512-oHRcbXyZ4U3Iyfby93nBSj539NzaFdGJvQlhdryT5piEegeEC2gE+b414v1vjxs+2GwYB/Mwbx/F8Ja83XeeHA==
11881188
dependencies:
11891189
lodash.isequal "^4.5.0"
11901190
nanoid "^3.1.20"

0 commit comments

Comments
 (0)