Closed andreicrat closed 1 month ago
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch stream-chat-react-native-core@5.36.2 for the project I'm working on.
stream-chat-react-native-core@5.36.2
We've seen a strange behavior that an empty bottom sheet has been displayed after the app resumed from the background with a different orientation.
Steps to reproduce:
Here is the diff that solved my problem:
diff --git a/node_modules/stream-chat-react-native-core/src/components/AttachmentPicker/AttachmentPicker.tsx b/node_modules/stream-chat-react-native-core/src/components/AttachmentPicker/AttachmentPicker.tsx index 2399593..4d46a64 100644 --- a/node_modules/stream-chat-react-native-core/src/components/AttachmentPicker/AttachmentPicker.tsx +++ b/node_modules/stream-chat-react-native-core/src/components/AttachmentPicker/AttachmentPicker.tsx @@ -264,7 +264,7 @@ export const AttachmentPicker = React.forwardRef( return ( <> <BottomSheet - containerHeight={fullScreenHeight} + // containerHeight={fullScreenHeight} enablePanDownToClose={true} handleComponent={ /**
This issue body was partially generated by patch-package.
Hey @andreicrat, do you see how containerHeight would cause a problem here?
containerHeight
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
stream-chat-react-native-core@5.36.2
for the project I'm working on.We've seen a strange behavior that an empty bottom sheet has been displayed after the app resumed from the background with a different orientation.
Steps to reproduce:
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.