angular/components

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

已关闭

#9,747 创建于 2018年2月2日

 (2 条评论) (0 个反应) (0 位负责人)TypeScript (6,650 个派生)batch import
P4area: material/form-fieldhelp wanted

仓库指标

星标
 (24,044 个星标)
PR 合并指标
 (平均合并 3天 12小时) (30 天内合并 98 个 PR)

描述

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

贡献者指南