react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

Custom fontSize in bottomTab is not working for first item on Android

Open pufinek opened this issue 3 years ago • 2 comments

What happened?

For first item in bottomTab is fontSize ( only on Android) different then for the exactly same item on different place. It is not possible to change fontSize for this item.

Tested on Android 12.0 - Xiaomi Redmi Note 9 Pro react-native-navigation: 7.30.2, 7.32.1

Image for fontSize: 12 and fontSize:20 First and second item (Home) on images are completely same.

image

What was the expected behaviour?

Custom fonSize is applied on all tabs

Was it tested on latest react-native-navigation?

  • [X] I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

In what environment did this happen?

React Native Navigation version: 7.30.2, 7.32.1 React Native version: 0.70.6 Has Fabric (React Native's new rendering system) enabled: (yes/no) Node version: 19.6.0 Device model: Xiaomi Redmi Note 9 Pro Android version: 12.0

pufinek avatar Mar 16 '23 10:03 pufinek

Hello, @pufinek Looks like you need to use selectedFontSize prop.

sashansk3 avatar Apr 04 '23 09:04 sashansk3

@sashansk3 Yes, it is working, thx

pufinek avatar Apr 04 '23 11:04 pufinek