showAvatarForEveryMessage
See original GitHub issueIssue Description
showAvatarForEveryMessage prop doesn’t work when I set the value to true
Steps to Reproduce / Code Snippets
<GiftedChat showAvatarForEveryMessage={true} renderAvatarOnTop={true} showUserAvatar={true} renderBubble={(props: any) => this.renderBubble(props)} renderAvatar={(props: any) => this.renderAvatar(props)} renderInputToolbar={() => this.renderInputToolbar()} messages={this.mappedMessages} user={{ _id: this.props.RenterId }} />
Expected Results
Avatar to show on every message.
Additional Information
- Nodejs version: 5.6.0
- React version: 16.2.0
- React Native version: 0.54.0
- react-native-gifted-chat version: 0.3.0
- Platform(s) (iOS, Android, or both?): Android
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
DashChat class - dash_chat library - Dart API - Pub.dev
A complete chat UI which is inspired by react-native-gifted-chat Highly customizable and helps developing chat UI faster. Inheritance.
Read more >reactjs-simple-gifted-chat - npm
Simple version of gifted chat UI for Web ReactJS. Latest version: 2.0.5, last published: a year ago. Start using reactjs-simple-gifted-chat ...
Read more >react-native-gifted-chat - UNPKG
11, showAvatarForEveryMessage?: boolean;. 12, imageStyle?: LeftRightStyle<ImageStyle>;. 13, containerStyle?: LeftRightStyle<ViewStyle>;.
Read more >GiftedChat displaying messages on left side of screen when ...
toString()} </Text> <GiftedChat renderInputToolbar={renderInputToolbar} renderBubble={renderBubble} showAvatarForEveryMessage={true} ...
Read more >How do I hide the Android Keyboard when using React-Native ...
return( <GiftedChat messages={} showAvatarForEveryMessage={true} onSend={messages => onSend(messages)} user={{ _id:1, }} /> ).
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 Free
Top 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
@hironarita I think it’s just
src/Avatar.js
but I might be wrong.@hironarita how are you ingesting the repo? I found that npm was serving me an outdated version which was causing this problem. Maybe an updated package need to be published?