React-native-gifted-chat: Bubble doesn't rerender

Created on 9 Oct 2019  路  10Comments  路  Source: FaridSafi/react-native-gifted-chat

Issue Description

Hi everyone,
I want to use sent/received ticks. So i have two function onSend that send new message and watchChat that listen all new message from the server. When i send a message the onSend function update the messages array then when watchChat find the new message i modify the last message with sent:true but the ticks doesn't appear (it appear if i send another new message).
I think it's because bubble doesn't rerender but i don't have solution :(

Additional Information

  • React version: 16.9.0
  • React Native version: 0.61.1
  • react-native-gifted-chat version: 0.10.1
wontfix

Most helpful comment

@xcarpentier I use 16.1 and bubble doesn't rerender (just the last bubble can rerender)

All 10 comments

Use 0.11.0

Seems workin thank you !

Hi, i use now 0.13.0 and the problem appear again.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Dealing with same issue, any solution?

@xcarpentier I use 16.1 and bubble doesn't rerender (just the last bubble can rerender)

I used renderMessage to render my state-dependent UI. This could be a temporary workaround.

I used renderMessage to render my state-dependent UI. This could be a temporary workaround.

That helps, thank you 馃憤

But fix for bubble is still required.

Still having the issue on 16.3

Does anyone have a solution for these issues?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maharjanaman picture maharjanaman  路  3Comments

yogiben picture yogiben  路  3Comments

yazhengwang picture yazhengwang  路  3Comments

tafelito picture tafelito  路  3Comments

iamdurui picture iamdurui  路  3Comments