You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my app, the <OverlayProvider> and <Chat> are initially rendered within a container that has height: 0 (collapsed state). Users can expand the container by pressing a button, which sets a different height for the container.
When the user expands the container, the attachment picker sheet is rendered over the entire chat and covers it entirely, even though it's empty.
Steps to reproduce
Steps to reproduce the behavior:
Render the chat within a collapsed container (with height: 0). Let it initialize by connecting the user, and loading messages.
Click on a button that triggers the expansion of the container, resulting in the container to get height > 0.
Notice that the chat contents are hidden beneath the attachment picker sheet. The sheet is empty but it covers the entire chat area.
You can drag-to-close the attachment picker to reveal the chat contents.
Expected behavior
The attachment picker sheet should not be rendered in this case, as nothing triggered it to be opened.
Project Related Information
Customization
Click To Expand
(The same issue occurs when I use the default components.)
# N/A
Offline support
I have enabled offline support.
The feature I'm having does not occur when offline support is disabled. (stripe out if not applicable)
Hey @jakubdrozdek, we made some good improvements to our bottom sheet implementation in v5.28.1 version of our SDK. Can you test it and let us know if it is still a problem for you? We will investigate further if it still exists.
@khushal87 Thanks for the info. We've made a few temporary customizations and UI optimizations so the tests with the newest version might give inaccurate results.
We have plans to revert some of those optimizations and try to rely on GetStream SDK alone. Once we're done, I'll let you know.
Issue
In my app, the
<OverlayProvider>
and<Chat>
are initially rendered within a container that hasheight: 0
(collapsed state). Users can expand the container by pressing a button, which sets a different height for the container.When the user expands the container, the attachment picker sheet is rendered over the entire chat and covers it entirely, even though it's empty.
Steps to reproduce
Steps to reproduce the behavior:
height: 0
). Let it initialize by connecting the user, and loading messages.height > 0
.Expected behavior
The attachment picker sheet should not be rendered in this case, as nothing triggered it to be opened.
Project Related Information
Customization
Click To Expand
(The same issue occurs when I use the default components.)
Offline support
Environment
Click To Expand
package.json
:react-native info
output:stream-chat-react-native
version you're using that has this issue:5.26.0
e.g. Android 10
e.g. iPhone 11
Additional context
The bug doesn't happen when the container's height is positive on the initial render (in other places of our app).
Screenshots
Click To Expand
attachment_picker_bug.mp4
The text was updated successfully, but these errors were encountered: