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

貢獻者指南