Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit d27b12f

Browse files
committed
fix(mdInput): fix regression that broke input placeholders on Firefox
Change to only hide automatic placeholders on webkit. This fixes Firefox so that placeholders are visible again. Fixes #2162. Fixes #2480.
1 parent ef570ef commit d27b12f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/input/input.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,4 +264,4 @@ md-input-container.md-icon-float {
264264
md-input-container.md-default-theme > md-icon {
265265
fill: #fff;
266266
}
267-
}
267+
}

src/components/input/input.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,4 @@ describe('md-input-container directive', function() {
186186
var input = el.find('input');
187187
expect(input.attr('aria-label')).toBe('baz');
188188
}));
189-
});
189+
});

0 commit comments

Comments
 (0)