Disable avatar issue
See original GitHub issueIssue Description
Avatar component is still rendering and taking space for upcoming messages even renderAvatar={() => null}
Is there a way to hide it?
Additional Information
- React Native version: 0.64.2
- react-native-gifted-chat version: 0.16.3
- Platform(s) (iOS, Android, or both?): both
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
Disable Avatar and force Gravatar usage - GitLab.org
When using various DevOps tools you may want to force your users to maintain the same Avatar between them using Gravatar. Feature checklist....
Read more >Disable avatar picture of User Picker custom field in ... - Jira
Would like to request an option to turn off avatar (pictures) in the Issue search result. Suggested Solution. Some option in the setting...
Read more >How do you remove Account Avatar? - eM Client
Change your Gravatar on the Gravatar website and then in eM Client do to “Menu / Settings / Contacts / General” and remove...
Read more >Can you remove the avatar - Meta Community Forums - 858628
- Select People from the navigation menu, then select Profile. - Select Edit Avatar to open the avatar editor. - Select Face, Hair,...
Read more >How do I disable the Windows Live avatar (a photo) in my
1. Login your account at https://profile.live.com · 2. On the left hand side, click Change picture · 3. Click Remove · 4. A...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to subclass the default
Message
component to overcome the display of the empty avatar;Hope that helps someone else.
I solved this issue by adding
renderAvatar={() => null}
but it had a few glitches in the UI. So, it was solved by adding
showAvatarForEveryMessage={true}
So that it renders avatar for every message and all of them are set to null.