From c10c0b50ac2a65c829f38c646bbfa2ea3ffc783b Mon Sep 17 00:00:00 2001 From: Jed Watson Date: Thu, 26 Oct 2017 14:49:35 +1100 Subject: [PATCH] disable some browser-specific behaviours that break the input --- less/control.less | 12 ++++++++++++ scss/control.scss | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/less/control.less b/less/control.less index 9301698a7d..b9ab6a5bda 100644 --- a/less/control.less +++ b/less/control.less @@ -22,6 +22,18 @@ .Select { position: relative; + // disable some browser-specific behaviours that break the input + input::-webkit-contacts-auto-fill-button, + input::-webkit-credentials-auto-fill-button { + display: none !important; + } + input::-ms-clear { + display: none !important; + } + input::-ms-reveal { + display: none !important; + } + // preferred box model &, & div, diff --git a/scss/control.scss b/scss/control.scss index 5595632629..1af4575a9a 100644 --- a/scss/control.scss +++ b/scss/control.scss @@ -8,6 +8,18 @@ .Select { position: relative; + // disable some browser-specific behaviours that break the input + input::-webkit-contacts-auto-fill-button, + input::-webkit-credentials-auto-fill-button { + display: none !important; + } + input::-ms-clear { + display: none !important; + } + input::-ms-reveal { + display: none !important; + } + // preferred box model &, & div,