I have a Badge component. In chrome, firefox etc works well but in safari 16.3 I have a problem like on screenshots (https://i.stack.imgur.com/pY7OS.png). Sometimes showing the number, and sometimes is crushed like the second screenshot(https://i.stack.imgur.com/vwuuY.png)
Enabled all experimental functions but still have problems
EDIT: Code
<span><li>/</li></span>
<Badge badgeContent={posts > 0 ? posts : 0} invisible={posts === 0 ? true : false} color="error" showZero={false} key={`${posts}`}>
<li style={{ fontWeight: type === 2 ? "bold" : "400" }}>
<Link to={`/case/id=${props.caseId}/posts`} onClick={() => readPosts(2)}>Wpisy</Link>
</li>
</Badge>
<span><li>/</li></span>