-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
In all browsers the md-input up/down buttons should be visible only when input type is set to "number".
What is the current behavior?
In Chrome the md-input up/down buttons show even when type="number" is not set and when "style='line-height: 1'" is set on body such as when using this reset.css : http://meyerweb.com/eric/tools/css/reset/
Firefox shows no issue there.
If normalize.css is used instead of reset.css then the issue disappears.
What are the steps to reproduce?
http://plnkr.co/edit/suhu6SElSc2GwEEXMKq2?p=preview
Removing "line-height" on body solves the problem.
So does removing the surrounding md-card-content
Which versions of Angular, Material, OS, browsers are affected?
Chrome Version 52.0.2743.116 m
Chromium Version 51.0.2704.79 Ubuntu 16.04 (64-bit)
"@angular/core": "2.0.0-rc.5",
"@angular2-material/core": "^2.0.0-alpha.7-4",
"@angular2-material/input": "^2.0.0-alpha.7-4"