NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

activeTextStyle and activeTabStyle are not working in react-native 0.60.4

Open DivinoMatheus opened this issue 7 years ago • 5 comments

Apparently the props activeTextStyle and activeTabStyle from component <Tab> are not working when the active tab changes in react-native version 0.60.4.

Example: image

Someone can help me in this case?

DivinoMatheus avatar Jul 25 '19 17:07 DivinoMatheus

Please check with 2.13.3

sankhadeeproy007 avatar Jul 26 '19 08:07 sankhadeeproy007

Duplicate of #2795

We are on RN 0.60.4

In 2.12.1 the tab font styling works In 2.13.4 the tab font styling doesn't work

nirre7 avatar Aug 07 '19 06:08 nirre7

Please follow the issue template. Provide proper steps to reproduce the issue at our end.

Srishti-Sharma avatar Aug 07 '19 11:08 Srishti-Sharma

No worries I'll add it 👍

I have gone through these following points

  • [x] Check latest documentation: https://docs.nativebase.io/
  • [x] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
  • [x] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
  • [x] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
  • [x] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
  • [x] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description

Before updating our app to RN 0.60.4 and NB 2.13.4 the native base theme variables topTabBarTextColor, topTabBarActiveTextColor worked great. After the update they don't. If we downgrade NB to 2.12.1 they work.

node, npm, react-native, react and native-base version, expo version if used, xcode version

node 12.8.0 npm 6.10.3 app rn version 0.60.4 react-native-cli 2.0.1 xcode 10.3

Expected behaviour

topTabBarTextColor, topTabBarActiveTextColor work

Actual behaviour

topTabBarTextColor, topTabBarActiveTextColor doesn't work, we get the default styling

Steps to reproduce

Please refer to reporters screen shot

Use NB 2.13.4 with RN 0.60.4

Is the bug present in both iOS and Android or in any one of them?

Yes

Any other additional info which would help us debug the issue quicker.

Could be a duplicate of #2795

nirre7 avatar Aug 09 '19 07:08 nirre7

This is a duplicate of #2795. Please refer to #2795.

PlabanJr avatar Aug 16 '19 14:08 PlabanJr