angular/components

mat-hint not animated when showed for first time on condition

Chiusa

#9747 aperta il 2 feb 2018

 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (6650 fork)batch import
P4area: material/form-fieldhelp wanted

Metriche repository

Star
 (24.044 stelle)
Metriche merge PR
 (Merge medio 3g 12h) (98 PR mergiate in 30 g)

Descrizione

Bug, feature request, or proposal:

Maybe a bug, definitely a feature

What is the expected behavior?

When I put a condition on the mat-hint element (for instance, show it only if a character has been typed), the element should be animated and slide in from the input.

What is the current behavior?

At first, the element isn't animated. Until a mat-error is shown, the element won't be animated.

What are the steps to reproduce?

Stackblitz

Guida contributor