Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:Fix text color reverting to default after changing tintColor #803

Conversation

diegopavani2
Copy link
Contributor

@diegopavani2 diegopavani2 commented Oct 11, 2023

Overview

I noticed a bug where the text color of the component would revert back to its default value after changing the tintColor. This behavior is not ideal as it disrupts the user experience and makes the component less flexible for dynamic UI changes. My motivation for making this change is to fix this issue and improve the component's reliability.

related with #641

Test Plan

Manually tested the component on multiple devices running iOS 13 and above.
Changed the tintColor dynamically after the component had rendered to verify that the text color does not revert to its default value.
Checked other properties to ensure they are not affected by this change.

@adamblvck
Copy link

Can we get a go on this feature?

Copy link
Member

@Naturalclar Naturalclar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Naturalclar Naturalclar merged commit b9d7870 into react-native-segmented-control:master Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants