Skip to content

feat(material/core): handle prefers-reduced-motion automatically #30796

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Apr 4, 2025

Adds some logic so that animations automatically get disabled if the prefers-reduced-motion media query matches.

Adds some logic so that animations automatically get disabled if the `prefers-reduced-motion` media query matches.
@crisbeto crisbeto added the target: major This PR is targeted for the next major release label Apr 4, 2025
@crisbeto crisbeto requested a review from a team as a code owner April 4, 2025 07:21
@crisbeto crisbeto requested review from mmalerba and wagnermaciel and removed request for a team April 4, 2025 07:21
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: material/core labels Apr 4, 2025
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Apr 4, 2025
@crisbeto crisbeto merged commit 82f0fa6 into angular:main Apr 4, 2025
25 of 27 checks passed
mistrykaran91 pushed a commit to mistrykaran91/components that referenced this pull request Apr 7, 2025
…ular#30796)

Adds some logic so that animations automatically get disabled if the `prefers-reduced-motion` media query matches.
@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 May 5, 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 detected: feature PR contains a feature commit target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants