Skip to content

Conversation

crisbeto
Copy link
Member

Currently when a user has their OS configured to reduce motion, we completely disable the animations of progress indicators. This appears to be confusing so instead we slow down their animations.

Fixes #31265.

crisbeto added 3 commits July 17, 2025 09:47
Adds a function that provides more granular information about why animations are disabled.
…pping them

Reworks the progress bar to slow down its animations, instead of fully stopping them when `prefers-reduced-motion` is enabled. Stopping the animations completely appears to be confusing for users.
… stopping them

Reworks the progress spinner to slow down its animations, instead of fully stopping them when `prefers-reduced-motion` is enabled. Stopping the animations completely appears to be confusing for users.
@crisbeto crisbeto requested a review from andrewseguin July 17, 2025 07:53
@crisbeto crisbeto requested a review from a team as a code owner July 17, 2025 07:53
@crisbeto crisbeto requested review from wagnermaciel and removed request for a team July 17, 2025 07:53
@crisbeto crisbeto added target: patch This PR is targeted for the next patch release merge: preserve commits When the PR is merged, a rebase and merge should be performed labels Jul 17, 2025
@andrewseguin andrewseguin added the dev-app preview When applied, previews of the dev-app are deployed to Firebase label Jul 17, 2025
Copy link

Deployed dev-app for 023fae4 to: https://ng-dev-previews-comp--pr-angular-components-31560-dev-gnjyzb5x.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

@andrewseguin
Copy link
Contributor

I kinda like the slow version more than the normal one =P Makes me wish we actually had an input for the speed

@crisbeto crisbeto removed the request for review from wagnermaciel July 17, 2025 20:40
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jul 17, 2025
@crisbeto crisbeto merged commit 062c5eb into angular:main Jul 17, 2025
37 of 41 checks passed
@crisbeto
Copy link
Member Author

The changes were merged into the following branches: main, 20.1.x

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: material/core area: material/progress-bar area: material/progress-spinner dev-app preview When applied, previews of the dev-app are deployed to Firebase merge: preserve commits When the PR is merged, a rebase and merge should be performed target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minimal Animation for mat-progress-bar and mat-progress-spinner in indeterminate Mode with prefers-reduced-motion Enabled
2 participants