selectedTextColor Issue
Issue Description
selectedTextColor for bottomTab defaults to blue after modal opened
Steps to Reproduce / Code Snippets / Screenshots
I have a scenario that makes the selectedTextColor in a bottomTab element malfunction: You can use the Playground app for the test
- Open the app with tabs have all the tabs selectedTextColor to 'red' and textColor to 'green'
- Open any modal
- Close the modal
- Switch tabs, you will see that almost all the tabs except for the one that was chosen when the Modal was opened, the selectedTextColor changes to BLUE when you tap on it
Environment
- React Native Navigation version: 3.0.0-alpha.8
- React Native version: 0.59.9
- Platform(s) (iOS, Android, or both?): iOS
- Device info (Simulator/Device? OS version? Debug/Release?): Simulator+Device Debug+Release
I'm facing the same issue, any idea how to solve it ? Or currently, we have to change the native code :| Thanks
I have the same issue, how to fix it?
Any update on this? Seems to affect both v2 and v3.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
fixed in v4
Same bug in v4..
Any workaround on this?
Any workaround on this?
I've fixed it using this setting:
Navigation.setDefaultOptions({
...
bottomTab: {
textColor: '#ffffff',
selectedTextColor: '#ffffff',
selectedIconColor: '#ffffff',
},
...
@mtebele I'm already using this config and it doesn't work.