-
Notifications
You must be signed in to change notification settings - Fork 328
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
[Android][v4] Bottom Sheet randomly appearing #1179
Comments
We are seeing this too, android only, fresh integration of Stream components. Details Devices: You can get rid of the drawer by pulling it up and then down, it will then disappear and work as expected for the rest of the app session. Additional context |
We've been experiencing this too on various Android devices. It's frustratingly intermittent. But when it does occur, it obscures our app's primary navigation (tabs along the bottom of the screen). "expo": "44.0.0", |
@vishalnarkhede this problem happens in iOS too, FYI ✋ |
@denizmersinlioglu can you provide some basic info about your ios build? 🙄 |
Is it possible for anyone to share a minimal example app with us, where we can reproduce these issue? |
Hi @vishalnarkhede, I don't have time to make an example app for you. But I am happy to share my screen and you can take a look at some of the code behind our app if you like? |
@mattlennon3 are you still facing this issue? |
Hi @vanGalilea, yeah we're still seeing this in our dev & prod apps. |
Hey @GregAtFramework, do you have |
@santhoshvai Yes we do. Though I'm fairly confident it's not something we've set explicitly ourselves - I believe it's part of Expo's default configuration. |
@GregAtFramework Thank you. As you say this is the default input mode in Expo and also in the default RN template. I believe this is related to the v4 version of the bottom sheet library: If you would downgrade to 3.6.6 it might fix the issue. But I haven't been able to verify this as I couldn't reproduce this issue in the android devices we have here. |
I could not reproduce this. Can someone please share a repo where this issue occurs in? |
Hi @vanGalilea. I attempted to make a repo to replicate this yesterday. Unfortunately I couldn't reproduce the same bug. This is a basic screen (not within a modal as it might appear) and we are using Screen_Recording_20220517-115308_.Dev.Mana.mp4 |
Hello @robrechtme @mattlennon3 @santhoshvai @vishalnarkhede I have fixed this issue but it is not a proper solution in file "AttachmentPicker".
|
@mattlennon3 @robrechtme We have published a beta version |
Hey @vishalnarkhede, I had time to give this a go on Monday. It looks like it's fixed to me! Are there any other changes to the beta version? We're keen to get a release out this week and I'll update to this version if so. Thanks! |
We've upgraded to stream-chat-expo 4.7.2 and unfortunately both myself and a teammate have seen the bottom sheet issue reoccur on Android. (Sorry, I'm afraid I don't have more details on the reproduction steps.) |
Yeah we've been on 4.3.1 since my last comment. The drawer isn't totally fixed but it's usable now. |
I have reopened this, as it seems to be not fully fixed but still happening according to the replies above |
@GregAtFramework and @mattlennon3 Thanks for reaching out!
Please then share a Github repo with us, where we can explore the issue ourselves. |
I'm also seeing this on iOS with version 4.7.3 |
Hi @vanGalilea. As I mentioned here, I am happy to screen share and demo the issue. I really can't get the time during work hours to setup a new repo, add stream then also try to recreate the general structure of our app 😞. It might be a good stream dev exercise to do the first time setup 😉. Get a view on the clients experience! |
@vanGalilea I went deep on this one today because in our app this sheet was appearing every single time you put the app in the background. It took a few hours but I was able to pin it down! It's because of this issue noted in the BottomSheet package: gorhom/react-native-bottom-sheet#919. If you update to a newer version after this PR was merged it's fixed. For now I used patch-package cc @mattlennon3 |
Hey @isaac-computer, many thanks for investigating this and finding the possible PR that fixes this. The version in which the fix has been released was v4.1.6 of the bottom sheet package. @mattlennon3 Could you please update the bottom sheet package to v4.1.6 or later and update us if you can still get the issue. We are not able to reproduce this on our end due to it being a race condition. |
I am closing this issue, as we believe that this should be fixed in version 4.1.6 or later of the react-native-bottom-sheet library. |
@santhoshvai Currently stream-chat-react-native-core depends on |
@GregAtFramework Thanks a lot. Good point. I will do in the upcoming release |
We upgraded to 4.10.0 (and bottom-sheet 4.4.2) and unfortunately my colleague and I are still seeing the Android issue. (Perhaps unsurprisingly, as the bottom-sheet issue specifically references iOS). I would love to try to create a minimalistic repo, but I don't know when I will find the time to try to put that together. |
Still happening on: "expo": "46.0.6", I've tried many things without success. Any thoughts? Thanks. |
I've given this fix a go: #1283 (comment) - a patch-package change to Only suitable if you're not using attachments, or not using the default UI for attachments. It's early days, but we haven't seen the issue since doing that. UPDATE: Another couple of weeks have passed, and this workaround has resolved the issue for us. |
Hi @GregAtFramework @codingwaysarg @mattlennon3 @isaac-computer @denizmersinlioglu @robrechtme We have published a new beta version v5.4.2-beta.2 that aims to fix this issue. Could you please upgrade to this version and remove the patch package to I believe that this happens due to a race condition in the bottom sheet library. I was able to create a reproducible scenario and fix it there. But we want your feedback to confirm if this bug has been squashed out finally. It would be immensely helpful if you could test and report to us. |
On our side, we have tested this beta version with the fix and it fixes the bug. We are not seeing this white bottom sheet. |
Hey @neopit, many thanks for testing it and the feedback; very happy to hear that this seems to fix it. It should be available in the main branch and released in about 5 days if there is no negative feedback in the meantime. |
@santhoshvai Is the fix merged? |
Still seeing the the issue in v5.4.2-beta.2 |
We've bumped our app with the 5.4.1, tested, and run our E2E. We did not see the bug anymore. But seeing this message above from, mrwatts88, .... hmmmm, I am stressed now :-) |
This isue still exist on 5.34.0 @santhoshvai |
@santhoshvai @vanGalilea This issue occurs on intermittently on keyboard hide and also regularly when app is switched from portrait to landscape. here is the video To Reproduce Play a YouTube video using the YouTubePlayer component (react-native-youtube-iframe). 355995836-ec9180e8-8623-4b58-8ee6-2d58b2538684.movif I remove stream-chat-react-native library then issue disappears.
|
Describe the bug
On Android, the bottom sheet from the Attachment picker is sometimes appearing when opening/closing the keyboard or changing between keyboards. This issue occurred since the v4 upgrade.
Dev environment info (please complete/provide the following information):
To Reproduce
Steps to reproduce the behavior:
OverlayProvider
Expected behavior
No bottom sheet is shown
Additional context
android:windowSoftInputMode="adjustResize"
in the manifest, maybe this causes the issue.Screenshots
![](https://user-images.githubusercontent.com/24371353/156593665-c5b7634c-f1da-4a47-bcc1-c45c9253342e.gif)
gz#20206
The text was updated successfully, but these errors were encountered: