[4.12.3] Badge anchorOriginTopRightRectangular style does not work #27571
Labels
bug 🐛
Something doesn't work
component: badge
This is the name of the generic UI component, not the React module!
v4.x
Current Behavior 😯
@material-ui/core@4.12.3
When using the
Badge
anchorOriginTopRightRectangle
style override the following console warning is generated:However, updating the style to use
anchorOriginTopRightRectangular
does not work and the styles are not applied.Note that using
styled
and applying& .MuiBadge-anchorOriginTopRightRectangle
works without any console warnings.Expected Behavior 🤔
In order to clear these warnings I would expect
anchorOriginTopRightRectangular
to work.Steps to Reproduce 🕹
The following codesandbox shows the issue along with a workaround using
styled
and the CSS classname.https://codesandbox.io/s/misty-breeze-64wyt?file=/src/App.js
Context 🔦
I have upgraded an app and am working through all the new console warnings.
Your Environment 🌎
`npx @material-ui/envinfo`
The text was updated successfully, but these errors were encountered: