CircularProgress animation's midpoint is off when (size / line-height) <= ~10 #11761
Closed
2 tasks done
Labels
bug 🐛
Something doesn't work
component: CircularProgress
The React component
component: progress
This is the name of the generic UI component, not the React module!
good first issue
Great for first contributions. Enable to learn the contribution process.
Expected Behavior
<CircularProgress />
always rotates around its own midpointCurrent Behavior
When the container's line-height is greater than 1 and

CircularProgress
size is small enough, animation's midpoint is incorrect, resulting in this:It stops being noticeable around when the size reaches about ~10-11 times the line-height.
Steps to Reproduce (for bugs)
https://codesandbox.io/s/v6rv1880q7
line-height
on the container surrounding aCircularProgress
to greater than 1, and thesize
onCircularProgress
to less than12 * lineHeight
Context
My application's global
line-height
is 1.5, and I use<CircularProgress size={16} />
inside of buttons that are not material-ui's buttonsYour Environment
The text was updated successfully, but these errors were encountered: