Skip to content

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Apr 28, 2025

Note: this is a patch port of #30966

The tabs have a fallback that sets transition-delay: 1ms in case users disabled animations without going through one of our APIs. That was also applying when they set animationDuration="0" which is a supported API. The result was a slight flicker.

These changes resolve the flicker by treating animationDuration="0" in the same way as if animations were disabled globally.

Fixes #30964.

…gular#30966)

The tabs have a fallback that sets `transition-delay: 1ms` in case users disabled animations without going through one of our APIs. That was also applying when they set `animationDuration="0"` which is a supported API. The result was a slight flicker.

These changes resolve the flicker by treating `animationDuration="0"` in the same way as if animations were disabled globally.

Fixes angular#30964.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Apr 28, 2025
@crisbeto crisbeto requested a review from a team as a code owner April 28, 2025 17:09
@crisbeto crisbeto requested review from mmalerba and andrewseguin and removed request for a team April 28, 2025 17:09
@crisbeto crisbeto removed the request for review from mmalerba April 28, 2025 19:36
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Apr 28, 2025
@crisbeto crisbeto merged commit 9a8d136 into angular:19.2.x Apr 28, 2025
28 of 30 checks passed
@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 29, 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/tabs target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants