We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Link to live example: (required) https://codesandbox.io/p/sandbox/gifted-river-35qwxk?file=%2Fsrc%2FDemo.tsx%3A4%2C1
Steps:
Badge to be at corner of the wrapped text
No response
npx @mui/envinfo
Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. Chrome
Search keywords: Badge long text
The text was updated successfully, but these errors were encountered:
A workaround is to override the badge slot CSS right: 0 using sx prop:
right: 0
sx
<Badge color="secondary" overlap="circular" badgeContent="5" slotProps={{ badge: { sx: { right: 0}}}}> Testing VERY LONG TEsT </Badge>
Sorry, something went wrong.
But then it works like overlap = "rectangular" which is the default behaviour , right?
No branches or pull requests
Steps to reproduce
Link to live example: (required) https://codesandbox.io/p/sandbox/gifted-river-35qwxk?file=%2Fsrc%2FDemo.tsx%3A4%2C1
Steps:
Current behavior
Expected behavior
Badge to be at corner of the wrapped text
Context
No response
Your environment
npx @mui/envinfo
Search keywords: Badge long text
The text was updated successfully, but these errors were encountered: