Skip to content

Conversation

mhdsbq
Copy link

@mhdsbq mhdsbq commented Aug 23, 2025

When a form becomes invalid and displays an error, the error message was no longer animating. This regression was introduced in #30678 (accessibility changes), because error elements were no longer destroyed/re-rendered, preventing the CSS animation from running.

This fix ensures that the animation works again without impacting accessibility.

Fixes #31712

When a form becomes invalid and displays an error, the error message was no longer animating. This regression was introduced in angular#30678 (accessibility changes), because error elements were no longer destroyed/re-rendered, preventing the CSS animation from running.

This fix ensures that the animation works again without impacting accessibility.

Fixes angular#31712
@mhdsbq mhdsbq requested a review from a team as a code owner August 23, 2025 17:10
@mhdsbq mhdsbq requested review from crisbeto and ok7sai and removed request for a team August 23, 2025 17:10
@crisbeto crisbeto requested a review from adolgachev August 23, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(mat-form-field): No animation for error message.
1 participant