question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

renderUsername prop of Bubble does not work

See original GitHub issue

Issue Description

renderUsername prop of Bubble does not work

Steps to Reproduce / Code Snippets

Try to render a custom bubble with renderBubble. In that function return a Bubble passing to it renderUsername as a function that returns a JSX.Element. The default username is rendered.

Expected Results

The custom JSX.Element is rendered

Additional Information

  • Nodejs version: 12.xx
  • React version: 16.9
  • React Native version: 0.61
  • react-native-gifted-chat version: 0.16.1
  • Platform(s) (iOS, Android, or both?): both

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
stale[bot]commented, Jul 17, 2020

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.

1reaction
AdamLee321commented, Sep 28, 2021

This is still not working, is this repo no longer maintained?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue with messages rendering a view specific to onLongPress
I am trying to render a View through renderCustomView={this.displayEmojis} for an individual message once a user has activated the ...
Read more >
react-native-gifted-chat - npm
The messages prop should work out-of-the-box with Redux. In most cases, this is all you need. If you decide to specify a text...
Read more >
react-native-gifted-chat@1.1.0 - jsDocs.io
Refocus the text input only if it was focused before showing keyboard. This is needed in some cases (eg. showing image picker). method ......
Read more >
index.d.ts - jsDelivr
ReactNode; /*Custom system message */ renderSystemMessage?(props: SystemMessageProps): React.ReactNode; /* Callback when a message bubble is long-pressed; ...
Read more >
Notices_7_22_2018_Website_O...
The licenses for most software and other practical works are designed ... For events like 'submit' which don't consistently bubble (which we ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found