Unable to style time stamp of chat bubbles
See original GitHub issueIssue Description
Unable to change the timestamp styling displayed in chat bubbles
Steps to Reproduce / Code Snippets
renderBubble (props) {
return (
<Bubble
{...props}
textStyle={{
right: {
color: 'black',
fontWeight:'400'
},
left:{
color:'black',
fontWeight:'400'
}
}}
wrapperStyle={{
right: {
backgroundColor: '#ffd633'
},
left:{
backgroundColor:'#fff0b3'
}
}}
/>
)
}
Expected Results
Styling for time stamps just like the message text in the bubble
Additional Information
- React version: 16.8.3
- React Native version: 0.59.10
- react-native-gifted-chat version: 0.13.0
- Platform(s) (iOS, Android, or both?): Yes
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
How to achieve in styles or css the layout of Whatsapp ...
I tried to achieve this using Flexbox and putting a flexWrap: 'wrap' on the chat bubble and alignSelf: 'flex-end ' on the timestamp...
Read more >Chat bubbles position - Samsung Community
I can't reach the bubble with either hand without adjusting my grip. Messenger's chat heads used to re-appear where I last placed them....
Read more >How to use chat bubbles in Android 11
Yes, it sounds obvious, but it doesn't hurt to double-check. If the app is set to "Nothing can bubble," you've found the culprit....
Read more >Understanding Dates And Time In Bubble - Amlie Solutions
Working with dates/time and time zones in Bubble.io can be tricky. This article dives deep into how date and times are handled by...
Read more >If in Messenger, the chat head is left open, will it show a green ...
The green indicator simply shows that that a person is logged into Facebook. The Messenger timestamp notes the time of the last message...
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
Just use
timeTextStyle={{ left: { color: 'black' },right: { color:'black'} }}
props at GiftedChat tagIs there no way to get more granular than “left” and “right”? If there’s a multi-user chat with multiple different background colors going on on the left side, I want to be sure the timestamp is readable. If I’m limited to “left”, then that can’t happen. Yikes.