-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[Tooltip] Not being placed correctly when used with FormControlLabel
checkbox because of default margin-left
style
#38012
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
Comments
Can I work on it? |
This should work. Looks like a bug. It doesn't function properly with @OmPr366 Feel free to work on it. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@Vivek-Prajapatii In the CodeSandbox you provided (https://codesandbox.io/s/determined-engelbart-4v5mts?file=/Demo.tsx), "Bottom End" placement doesn't work as expected. |
This comment was marked as outdated.
This comment was marked as outdated.
@Vivek-Prajapatii Thanks for providing the solution. I do see that as a workaround, though. Why was |
FormControlLabel
checkbox because of built in margin-left
style
FormControlLabel
checkbox because of built in margin-left
styleFormControlLabel
checkbox because of default margin-left
style
This comment was marked as outdated.
This comment was marked as outdated.
@OmPr366 @ZeeshanTamboli we would like to pick this up |
@gitstart, as mentioned earlier, this change might be breaking, so it's better suited for v6. However, if you have a non-breaking solution, please go ahead and create a PR. |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://stackblitz.com/edit/react-qqwxar-c3zrv8?file=demo.tsx
Steps:
bottom-end
to placement in tooltipbottom-start
to placement in tooltipCurrent behavior 😯
After passing position parameters in the tooltip both position start and position end is working same.

Expected behavior 🤔
position start and position end should not be same.
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: