Skip to content

Input Outline floating label gap didn't get re-calculated on prefix hide #13251

Closed
@glouischandra

Description

@glouischandra

Bug, feature request, or proposal:

Bug: Input Outline floating label gap didn't get re-calculated on prefix hide

What is the expected behavior?

Outline gap is recalculated when prefix gets hidden via *ngIf

What is the current behavior?

Outline gap didn't get recalculated so the experience is pretty broken.

What are the steps to reproduce?

Stackblitz: https://stackblitz.com/edit/angular-nds7ep?file=app%2Finput-overview-example.ts

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Tested with Angular Material 6.4.7

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

GThis is is related to a Google internal issueP2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions