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

bug: StreamChat automatically opens into a conversation on Mobile

Open FrenchMajesty opened this issue 2 months ago • 1 comments

Describe the bug

When I load up the inbox page of my app on mobile view, StreamChat automatically jumps into a conversation context. I often times have to expressly tap the "back" so that I can view a list of conversations.

The documentation shows there is a prop that can be used to control that, but it doesn't seem to be work.

To Reproduce

Steps to reproduce the behavior:

  1. Go to a page with the Chat context
  2. Observe how it will automatically open a thread

Expected behavior

I would expect that when that prop is to true, that my inbox would stay in the thread view rather than opening a random conversation. This behavior is very annoying when on mobile and hurts UX

Video recording https://www.loom.com/share/62fd054cb8f04019ba7641cf8bb65ef3?sid=9ab29c33-b23c-4d4b-bdad-a4fe3656da1a

{
    "stream-chat": "^8.25.1",
    "stream-chat-react": "^11.13.1"
}

Desktop (please complete the following information):

  • OS: macOS
  • Browser Chrome
  • Version: 123

FrenchMajesty avatar May 04 '24 23:05 FrenchMajesty