Skip to content

Progress Spinner actual size different from diameter #10200

@daveccrit

Description

@daveccrit

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Actual size of spinner is size of diameter

What is the current behavior?

Actual size of spinner is greater than diameter. Any diameter greater than 104 will result in the width and height differing from the diameter. At first glimpse, it appears the math to figure out actual size does not take into account the stroke width in conjunction with diameter?

What are the steps to reproduce?

Change diameter to anything above 104. Diameters of 50, 100, 104 work as expected. Diameters of 105, 150, 200+ change the size to something greater than diameter size.

https://stackblitz.com/edit/angular-gnrzeu

What is the use-case or motivation for changing an existing behavior?

Expectation that the size of spinner be the same size as the diameter

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions