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
Provide a clear and concise description of the issue
What was the expected behavior?
CometChat Conversation List Item miss the conversation select state
Reproduction
Select a conversation from the conversation list
The background color of the selected conversation doesn't change.
Environment
cometchat-pro-react-ui-kit 3.0.2-beta1
The problem is this file: src/components/Chats/CometChatConversationListItem/style.js
Using the props.selectedConversation.conversationId to identify the selected conversation.
However, the props of <CometChatConversationListItem /> in "src/components/Chats/CometChatConversationList/index.js" doesn't provide selectedConversation.
I added selectedConversation={conversationObj} and fixed this issue.
Describe the problem
What was the expected behavior?
Reproduction
Environment
The problem is this file:
src/components/Chats/CometChatConversationListItem/style.js
Using the
props.selectedConversation.conversationId
to identify the selected conversation.However, the props of
<CometChatConversationListItem />
in "src/components/Chats/CometChatConversationList/index.js" doesn't provideselectedConversation
.I added
selectedConversation={conversationObj}
and fixed this issue.The text was updated successfully, but these errors were encountered: