From 0e9072e48123e3542680047d9378b9418a7a3311 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Wed, 16 Apr 2014 15:07:20 -0500 Subject: [PATCH] fix(input): Fix to hide input overlays on old Android --- scss/_form.scss | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/scss/_form.scss b/scss/_form.scss index 7b288a16147..999ac818643 100644 --- a/scss/_form.scss +++ b/scss/_form.scss @@ -213,6 +213,30 @@ input[type="color"] { border: 0; } +// Fix to hide input overlays on old Android +.platform-android2, +.platform-android4_0 { + textarea, + input[type="text"], + input[type="password"], + input[type="datetime"], + input[type="datetime-local"], + input[type="date"], + input[type="month"], + input[type="time"], + input[type="week"], + input[type="number"], + input[type="email"], + input[type="url"], + input[type="search"], + input[type="tel"], + input[type="color"] { + position: relative; + top: -9999px; + @include translate3d(0, 9999px, 0); + } +} + // Position radios and checkboxes better input[type="radio"], input[type="checkbox"] {