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.

Unable to customize date text color

See original GitHub issue

Issue 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:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

5reactions
Bronsequencescommented, Jul 3, 2018

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.

2reactions
mafiusucommented, Mar 30, 2018

@jnrepo yes from master "react-native-gifted-chat": "https://github.com/FaridSafi/react-native-gifted-chat.git",

Read more comments on GitHub >

github_iconTop 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 >

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