Skip to content

BottomNavigation.Bar applies wrong fontWeight to active label #4780

@tibbe

Description

@tibbe

Current behaviour

The BottomNavigation.Bar applies the same fontWeight to all labels (active and inactive) as seen in the implementation but according to the MD3 spec the weight for the active label should be bold (i.e. 700).

Expected behaviour

Active label should be bold.

How to reproduce?

Use BottomNavigation.Bar (e.g. together with react-navigation).

Preview

What have you tried so far?

Read the implementation, which clearly is wrong.

Your Environment

software version
ios x
android x
react-native x.x.x
react-native-paper 5.14.5
node x.x.x
npm or yarn x.x.x
expo sdk x.x.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions