Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(form-field): outline is not recalculated when label font-size is dynamically set #14336

Closed
Shira16 opened this issue Nov 30, 2018 · 2 comments · Fixed by #26028
Closed

bug(form-field): outline is not recalculated when label font-size is dynamically set #14336

Shira16 opened this issue Nov 30, 2018 · 2 comments · Fixed by #26028
Assignees
Labels
area: material/form-field P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@Shira16
Copy link

Shira16 commented Nov 30, 2018

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Font size of label is different when form-field is focused/filled and when form-field is not focused/empty. Outline of form field should be recalculated when label change its position.

What is the current behavior?

Outline of form field is on label after dynamically set font-size.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-8roea8

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

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

"@angular/core": "^7.1.1",
"@angular/material": "^7.1.0",

Is there anything else we should know?

Might be related: #11919

@mmalerba mmalerba added the needs triage This issue needs to be triaged by the team label May 20, 2020
@mmalerba
Copy link
Contributor

Updated the stackblitz, still seems to be an issue: https://stackblitz.com/edit/angular-material2-issue-t86pgu?file=app/app.component.html

@mmalerba mmalerba added area: material/form-field P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed needs triage This issue needs to be triaged by the team labels May 27, 2020
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: material/form-field P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants