Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(spinner): Spinner not rotating around the center when inside a mat-button #30230

Open
1 task
UrzaUrza opened this issue Dec 23, 2024 · 0 comments
Open
1 task
Labels
needs triage This issue needs to be triaged by the team

Comments

@UrzaUrza
Copy link

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

When i put a mat-spinner inside a mat-icon-button, if the diameter of the spinner is not 24px then the spinner is not rotating around the center of the circle.

Reproduction

StackBlitz link: https://stackblitz.com/edit/wl81aqhc?file=src%2Fexample%2Fbutton-overview-example.html
Steps to reproduce:

  1. Run
  2. Watch

Expected Behavior

The spinner rotate around the center of the circle.

Actual Behavior

The spinner does not rotate around the center of the circle.

Environment

  • Angular: 19.0.3
  • CDK/Material: 19.0.2
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows
@UrzaUrza UrzaUrza added the needs triage This issue needs to be triaged by the team label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

1 participant