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

Bottom Tabs focused prop

Open donutdonate opened this issue 1 year ago • 0 comments

Current behaviour

I want to change bottom tab label font family depends on focused prop, but when i choose any tab, i see each tab renders two times with - focused prop equals true and then equals false. So all of labels renders with the same focused variant of font family.

Expected behaviour

I can switch label font family depends on focused prop.

How to reproduce?

Снимок экрана 2024-03-19 в 19 52 06

Снимок экрана 2024-03-19 в 19 45 14

Снимок экрана 2024-03-19 в 19 54 06

Preview

What have you tried so far?

Your Environment

software version
ios 17.2
android 13
react-native 0.73.6
react-native-paper 5.12.3
node 20.5.0
npm or yarn 1.22.19
expo sdk -

donutdonate avatar Mar 19 '24 16:03 donutdonate