angular/components

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

クローズ

#9,747 opened on 2018/02/02

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (6,650 件のフォーク)batch import
P4area: material/form-fieldhelp wanted

Repository metrics

Stars
 (24,044 個のスター)
PR merge metrics
 (平均マージ 3d 12h) (30d で 98 merged PRs)

説明

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

コントリビューターガイド