[material-ui][Tooltip] Repositioning happening after the initial load #39064
Labels
bug 🐛
Something doesn't work
component: tooltip
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
https://codesandbox.io/s/mfmmvq?file=/Demo.tsx
This is just the straight codesand box from the docs here:
https://mui.com/material-ui/react-tooltip/#basic-tooltip
Mouse over the icon and see that there is a slight repositioning after the tooltip comes in.
Code Sandbox:
Screen.Recording.2023-09-20.at.11.24.38.am.mov
Curiously enough, it only happens on the CodeSandbox (also my environment), not on the Mui website.
Mui Website:
Screen.Recording.2023-09-20.at.11.54.23.am.mov
Current behavior 😯
There is a slight reposition after the tooltip appears.
Expected behavior 🤔
There should not be a reposition.
Context 🔦
It's bugging me.
Could be related to this issue: #8040
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: