diff --git a/package.json b/package.json index 1080a470a5..1f8f0ecd2d 100644 --- a/package.json +++ b/package.json @@ -174,7 +174,7 @@ "@types/bytebuffer": "^5.0.44", "@types/ejson": "^2.1.3", "@types/i18n-js": "^3.8.3", - "@types/invariant": "^2.2.37", + "@types/invariant": "2.2.37", "@types/jest": "^29.5.12", "@types/jsrsasign": "^10.5.8", "@types/lodash": "^4.14.188", diff --git a/patches/@discord+bottom-sheet+4.6.1.patch b/patches/@discord+bottom-sheet+4.6.1.patch index 66621ae989..3a2e2e3c01 100644 --- a/patches/@discord+bottom-sheet+4.6.1.patch +++ b/patches/@discord+bottom-sheet+4.6.1.patch @@ -1,3 +1,17 @@ +diff --git a/node_modules/@discord/bottom-sheet/src/components/bottomSheet/BottomSheet.tsx b/node_modules/@discord/bottom-sheet/src/components/bottomSheet/BottomSheet.tsx +index 2897fef..9a8505e 100644 +--- a/node_modules/@discord/bottom-sheet/src/components/bottomSheet/BottomSheet.tsx ++++ b/node_modules/@discord/bottom-sheet/src/components/bottomSheet/BottomSheet.tsx +@@ -1382,7 +1382,8 @@ const BottomSheetComponent = forwardRef( + if (containerHeight !== _previousContainerHeight) { + animationSource = ANIMATION_SOURCE.CONTAINER_RESIZE; + animationConfig = { +- duration: 0, ++ // https://github.com/gorhom/react-native-bottom-sheet/pull/1497 ++ duration: 1, + }; + } + } diff --git a/node_modules/@discord/bottom-sheet/src/components/bottomSheetHandleContainer/BottomSheetHandleContainer.tsx b/node_modules/@discord/bottom-sheet/src/components/bottomSheetHandleContainer/BottomSheetHandleContainer.tsx index 2219e0f..59f90ba 100644 --- a/node_modules/@discord/bottom-sheet/src/components/bottomSheetHandleContainer/BottomSheetHandleContainer.tsx diff --git a/yarn.lock b/yarn.lock index ac0bf7225b..71bc3e9138 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4317,7 +4317,7 @@ resolved "https://registry.yarnpkg.com/@types/i18n-js/-/i18n-js-3.8.9.tgz#074d1389539d2db992e6afd7eb379aa02929ef93" integrity sha512-bSxgya4x5O+x+QhfCGckiDDE+17XGPp1TNBgBA/vfF5EwdiZC70F4cKG5QK2v44+v62oY7/t/InreRhxskulcA== -"@types/invariant@^2.2.37": +"@types/invariant@2.2.37": version "2.2.37" resolved "https://registry.yarnpkg.com/@types/invariant/-/invariant-2.2.37.tgz#1709741e534364d653c87dff22fc76fa94aa7bc0" integrity sha512-IwpIMieE55oGWiXkQPSBY1nw1nFs6bsKXTFskNY8sdS17K24vyEBRQZEwlRS7ZmXCWnJcQtbxWzly+cODWGs2A==