From 5d608aad2ddb5e00d22e48ade976586918c26f95 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Sat, 16 Jun 2018 20:25:25 +0200 Subject: [PATCH] fix: Fix flickering on iphone when touching tabs Fixes #186 --- style/react-tabs.css | 1 + style/react-tabs.less | 1 + style/react-tabs.scss | 1 + 3 files changed, 3 insertions(+) diff --git a/style/react-tabs.css b/style/react-tabs.css index 368da89e06..6f6686357f 100644 --- a/style/react-tabs.css +++ b/style/react-tabs.css @@ -13,6 +13,7 @@ list-style: none; padding: 6px 12px; cursor: pointer; + -webkit-tap-highlight-color: transparent; } .react-tabs__tab--selected { diff --git a/style/react-tabs.less b/style/react-tabs.less index f18e9b152f..06a788166d 100644 --- a/style/react-tabs.less +++ b/style/react-tabs.less @@ -14,6 +14,7 @@ list-style: none; padding: 6px 12px; cursor: pointer; + -webkit-tap-highlight-color: transparent; &--selected { background: #fff; diff --git a/style/react-tabs.scss b/style/react-tabs.scss index f18e9b152f..06a788166d 100644 --- a/style/react-tabs.scss +++ b/style/react-tabs.scss @@ -14,6 +14,7 @@ list-style: none; padding: 6px 12px; cursor: pointer; + -webkit-tap-highlight-color: transparent; &--selected { background: #fff;