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
I think the issue here is that you re-create a message controller at the moment the reaction is applied. Can you please check if the method client.messageController(cid: channelId, messageId: selectedMessageId) is called only once for each message view?
I think the issue here is that you re-create a message controller at the moment the reaction is applied. Can you please check if the method client.messageController(cid: channelId, messageId: selectedMessageId) is called only once for each message view?
It is called only once yes. Although I cannot assure you that since I've changed the logic and now I'm calling addReaction method instead and the result is better or it works as expected.
I would suggest you implement a method that could alter extraData only, without the need of supplying a text.
What did you do?
What did you expect to happen?
Message not to flicker and reset while updating it.
What happened instead?
When I update extraData on message, the newlyAdded data is rendered immediately. But just after that it disappears and re-appears again.
I'm using custom message view to have a custom layout.
GetStream Environment
GetStream Chat version: 4.39
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
iOS version: 17
Swift version: 5.9
Xcode version: 15
Device: iPhone
Additional context
Screen.Recording.2023-10-25.at.08.37.05.mov
The text was updated successfully, but these errors were encountered: