Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[material-ui][Tooltip] Repositioning happening after the initial load #39064

Open
2 tasks done
dwjohnston opened this issue Sep 20, 2023 · 3 comments
Open
2 tasks done
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

Comments

@dwjohnston
Copy link
Contributor

dwjohnston commented Sep 20, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the 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
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
@dwjohnston dwjohnston added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 20, 2023
@dwjohnston dwjohnston changed the title Tooltip reposition Tooltip reposition after initial load. Sep 20, 2023
@danilo-leal danilo-leal changed the title Tooltip reposition after initial load. [material-ui][Tooltip] Repositioning happening after the initial load Sep 20, 2023
@danilo-leal danilo-leal added component: tooltip This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material labels Sep 20, 2023
@ZeeshanTamboli ZeeshanTamboli added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 10, 2023
@refugedesigns
Copy link

Please assign this to me

@Wissperwind
Copy link

Wissperwind commented Nov 8, 2023

I have a problem with the tooltips, too. It looks a bit different. It appears in my code and on the demo page:
https://mui.com/material-ui/react-tooltip/
The box appears with an additional line of grey pxels at the bottom. And after a glimps that line of pixels disappears and the box becoms it's final size. This is the best I can describe it in words.

@mleister97
Copy link

Any updates on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

7 participants