How can I solve the issue of positioning the badge content to be near the IconButton in Material UI ?
I've tried to disableRipple but it doesn't work!
<Badge badgeContent={4} color="primary">
<IconButton
disableFocusRipple
disableRipple
style={{ backgroundColor: "transparent" }}
>
<MailIcon />
</IconButton>
</Badge>
If I don't use IconButton everything is okay, but I need Icon Button!
Put the IconButton outside of the Badge
<IconButton style={{ backgroundColor: "transparent" }}>
<Badge badgeContent={4} color="primary">
<MailIcon />
</Badge>
</IconButton>