Unable to customize date text color
See original GitHub issueIssue Description
Unable to change the color of the date, while its possible to change the color of the text.
Steps to Reproduce / Code Snippets
What I’m doing right now to change colors of the bubbles and message text. However, this will not change the color of the dates.
<Bubble
{...props}
wrapperStyle={{
left: {
backgroundColor: '#5bc236',
marginBottom: 5
},
right: {
backgroundColor: '#f3f3f3',
marginBottom: 5
}
}}
textProps={{
style: {
color: props.position === 'left' ? '#ffffff' : '#000000',
},
}}
/>
Expected Results
Date and Message colors are matching and are able to customized.
Additional Information
- Nodejs version: 9.7.1
- React version: 16.2.0
- React Native version: 0.53.3
- react-native-gifted-chat version: 0.4.3
- Platform(s) (iOS, Android, or both?): iOS
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
not able to change the font color of date - Atlassian Community
Solved: In my other spaces the date font is black, how do I change these. selecting font color is not working with these...
Read more >swift - Unable to change current date text color in UIDatePicker
In my application I have customised a UIDatePicker (set custom color for selected date) that was working correctly in iOS ...
Read more >Can't change the Selected date font-color on iOS! - Syncfusion
I'm trying to set the SelectedDayTextColor to white and it does work but the text is white only on weekends. The textColor is...
Read more >Xcode 14 Beta - Unable to change s… - Apple Developer
There is no workaround for this. This feature is not (and never has been) supported. If you would like to customize the text...
Read more >How to prevent phones from changing font color for dates?
I have dates on my invite, and when the invite is viewed on an iPhone, the font colour of the linked dates is...
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
Any news on this fix being release via NPM? We’ve forked this repo to get the changes currently available in master but would like to switch back to referencing your module via NPM if possible.
@jnrepo yes from master
"react-native-gifted-chat": "https://github.com/FaridSafi/react-native-gifted-chat.git",