Arrow tooltip not positioning correctly #16837
Labels
component: tooltip
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
good first issue
Great for first contributions. Enable to learn the contribution process.
Using arrow tooltips and placing it on the left or right side of the element creates an unaligned arrow.
Expected Behavior 🤔
The arrow should align to the middle
Current Behavior 😯
The arrow doesn't align to the middle due to a
top
style added to it that has a lower value than it should to align the arrow to the middle:Steps to Reproduce 🕹
Codesandbox straight out of material-ui page, only added the
placement
prop. Hover any of the middle elements.Context 🔦
I was trying to have an arrowed tooltip that opens to the left of the hovered element.
Your Environment 🌎
The text was updated successfully, but these errors were encountered: