React-native-gifted-chat: Username on top of message bubble?

Created on 13 Sep 2016  路  4Comments  路  Source: FaridSafi/react-native-gifted-chat

Hey there,

I think older versions of the Gifted Chat had a way to have usernames show up on top of message bubbles (See below React-Bot) Is this still available in the new Gifted Chat? If not, I'm guessing the best way to go about implementing is just overriding renderMessage.

giftedmessenger 1

Thanks, appreciate the help.

Most helpful comment

@kfiroo Is there a way of showing the name only on top of the first bubble of a sequence of bubbles from the same sender?

All 4 comments

Forked and edited Message rendering. Thanks!

@rickling I don't think a fork is needed, you could simply set renderMessage prop and render what you need

@kfiroo Is there a way of showing the name only on top of the first bubble of a sequence of bubbles from the same sender?

@kfiroo i support the showing of name inside bubble not above the bubbles

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yogiben picture yogiben  路  3Comments

redwind picture redwind  路  3Comments

cassioseffrin picture cassioseffrin  路  3Comments

tafelito picture tafelito  路  3Comments

luisar picture luisar  路  3Comments