mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.18k stars 32.08k forks source link

[BottomNavigation] Label font-size shoud not increase when selected #28818

Open oliviertassinari opened 2 years ago

oliviertassinari commented 2 years ago

Current Behavior 😯

The font size increases: https://github.com/mui-org/material-ui/blob/d4ea4c90cb4a82dbe21ecf51b3cd634c5df54b62/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js#L67

Expected Behavior 🤔

https://material.io/components/bottom-navigation

Steps to Reproduce 🕹

  1. Open https://mui.com/components/bottom-navigation/#bottom-navigation
  2. Click on a new action
  3. See how the dimension changes
  4. Compare to https://material.io/components/bottom-navigation
corgoss commented 2 years ago

Hi, i would like to try fix this.