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([MatFormField]): [type="time" is bigger than other input fields] #18787

Assignees
Labels
P4 A relatively minor issue that is not relevant to core functions

Comments

@SC-JC
Copy link

SC-JC commented Mar 11, 2020

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-o1oz1c

Steps to reproduce:

  1. Make a Projekt
  2. Put two MatFormFields next to each other, one being type="time" and one any other type

Was aparently already fixed in 2018, still seems to be a problem though:
#13317

Expected Behavior

What behavior were you expecting to see?
Fields should be the same size

Actual Behavior

What behavior did you actually see?
Fields are not same size

Environment

  • Angular: 8.2.14
  • CDK/Material:8.2.2/8.2.3
  • Browser(s): Chrome, Edge Chromium, Chrome for Android. Firefox seems to work, they probably have a different style for time input fields.
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10, macOS 10.4, Android 10
@SC-JC SC-JC added the needs triage This issue needs to be triaged by the team label Mar 11, 2020
@crisbeto crisbeto self-assigned this Mar 14, 2020
@crisbeto crisbeto added has pr P4 A relatively minor issue that is not relevant to core functions and removed needs triage This issue needs to be triaged by the team labels Mar 14, 2020
crisbeto added a commit to crisbeto/material2 that referenced this issue Mar 14, 2020
Fixes the time, date etc. input types being taller than the plain text input by a couple of pixels due to the native input masking.

Fixes angular#18787.
mmalerba pushed a commit that referenced this issue Mar 21, 2020
Fixes the time, date etc. input types being taller than the plain text input by a couple of pixels due to the native input masking.

Fixes #18787.
@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 Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.