[menu] Text on the menu item moving slightly on hover
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Steps to reproduce
No response
Current behavior
In your menu example, available at the following link: https://mui.com/material-ui/react-menu/#menulist-composition, as you can observe in the video, the text shifts or moves whenever I hover over a menu item.
https://github.com/mui/material-ui/assets/121926499/e6e1f033-bb8d-40a3-852c-ff68d8e20576
Additionally, when I utilize the Button component inside the Grow component, the text also moves upon rendering.
I am facing this issue in both MAC OS and Windows
Expected behavior
The text should not move on hover or during rendering, as this behavior would be undesirable for a user-friendly and stable user interface.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: Grow
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MenuList composition example at mui.com/material-ui/react-menu/#menulist-composition and reproduce the hover shift shown in the linked video. Then compare the Button inside Grow behavior during rendering; done means menu and button text remain stable on hover and render across macOS and Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100