question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Outline form field visual bug in 6.2

See original GitHub issue

Bug, feature request, or proposal:

mat-form-field-outline-gap and mat-form-field-outline-start classes are not styling right

What is the expected behavior?

Same behaviour as material 6.1

What is the current behavior?

When you move between routes and load a component with some form fields with values, the outline gap doenst calculate the width, so label is bad styled. When you click anywhere, the width is recalculated fine.

What are the steps to reproduce?

GIF with the problem:

bug

What is the use-case or motivation for changing an existing behavior?

Prior to 6.2 everything worked fine

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

Angular Material 6.2

Is there anything else we should know?

Angular Material 6.1 didnt have this issue

The problem seems to be related with the width applied to mat-form-field-outline-gap and mat-form-field-outline-start classes, when the bug happens, the width is set to 0, like:

<div class="mat-form-field-outline-start" style="width: 0px;">...</div>

And then if you click anywhere: <div class="mat-form-field-outline-start" style="width: 5.48608px;">...</div>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
shristi-cashifycommented, Mar 12, 2019

this issue is still existing

1reaction
mmalerbacommented, Aug 9, 2018

I think #12555 should fix this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Known Issues - FortiManager 6.2.2
The following issues have been identified in 6.2.2. For inquires about a particular bug or to report a bug, please contact Customer Service...
Read more >
Summary of Announced Updates for Patch 6.2 from today's ...
Visually similar to Variant Dungeons, but are of a higher difficulty with different encounters and mechanics · Usual light party role restrictions (1...
Read more >
Ext.form.field.Text | Ext JS 6.2.0 - Sencha Documentation
Summary. A basic text field. Can be used as a direct replacement for traditional text inputs, or as the base class for more...
Read more >
TinyMCE 6.2
These release notes provide an overview of the changes for TinyMCE 6.2: ... With this update, Spell Checker Pro now listens for input...
Read more >
Battlefield 5 Patch Notes: Update 6.2 Out Now With Tank ...
The upcoming 6.2 update, which goes live on Thursday, March 5, ... Fixed a bug that could cause visual bugs when players switched...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found