The circular variant of the loading indicator stops working when changing between circular and linear for the type prop.
🪜 How to reproduce
Go to one of the props playground stories for the loading indicator.
Change the type prop to linear and back to circular.
See that the loading indicator isn't displaying correctly.
📸 Screenshots or code
The loading indicator becomes a complete circle (and no matter whether it's indeterminate or determinate).
🧐 Expected behaviour
The circular variant should render as normal when changing between types.
Additional info
Need to decide whether this bug actually matters - how likely is it that a developer will want to change the loading indicator type while it's rendered?
Summary of the bug
The circular variant of the loading indicator stops working when changing between
circular
andlinear
for thetype
prop.🪜 How to reproduce
type
prop tolinear
and back tocircular
.📸 Screenshots or code
The loading indicator becomes a complete circle (and no matter whether it's indeterminate or determinate).
🧐 Expected behaviour
The circular variant should render as normal when changing between types.
Additional info
Need to decide whether this bug actually matters - how likely is it that a developer will want to change the loading indicator type while it's rendered?