stream-chat-react-native icon indicating copy to clipboard operation
stream-chat-react-native copied to clipboard

White Ghost bottom modal (Android only)

Open neopit opened this issue 3 years ago • 1 comments

Describe the bug We are running some E2E tests in our app and on some of them are failing because at one moment a White Ghost bottom modal appears. It seems to be the AttachmentPicker

We are wondering if you know this issue and how to fix it.

Technically, we are wrapping an important(big) stack with the OverlayProvider and the white bottom modal comes from this Overlay

To Reproduce It is hard to tell exactly when it happens but it seems related with the Keyboard.

When the E2E script plays with the keyboard and maybe when we change some pages (different navigation header) then the white ghost modal appear.

This issue happens ONLY on ANDROID

Expected behavior The OverlayProvider does not have side effect

Screenshots Screen Shot 2022-09-26 at 12 11 00 PM

neopit avatar Sep 27 '22 22:09 neopit

Hi @neopit, this has been an issue for numerous customers over the last seven months - see #1179 and #1283. Stream have not managed to fix it, but the community have identified a workaround there that may be suitable if you are not making use of the AttachmentPicker.

GregAtFramework avatar Sep 28 '22 07:09 GregAtFramework

Duplicate of #1283

vanGalilea avatar Oct 11 '22 08:10 vanGalilea

Hi @neopit,

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 AttachmentPicker.tsx (if any) and see if it's fixed?

I have also asked other users here: https://github.com/GetStream/stream-chat-react-native/issues/1179#issuecomment-1284182349

santhoshvai avatar Oct 19 '22 15:10 santhoshvai

Still seeing the the issue in v5.4.2-beta.2

mrwatts88 avatar Dec 19 '22 18:12 mrwatts88