mui / mui/material-ui

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

Open
#28,818 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

design: material scope: bottom navigation waiting for 👍
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js at the linked line, then reproduce the size change from the Bottom Navigation demo. Compare the selected-label behavior with the linked Material Design reference and inspect the component's existing tests if present. Done means selecting an action no longer changes the label font size or layout unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
design, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.