Skip to content

Commit 5d608aa

Browse files
committed
fix: Fix flickering on iphone when touching tabs
Fixes #186
1 parent 8f5cd84 commit 5d608aa

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

style/react-tabs.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
list-style: none;
1414
padding: 6px 12px;
1515
cursor: pointer;
16+
-webkit-tap-highlight-color: transparent;
1617
}
1718

1819
.react-tabs__tab--selected {

style/react-tabs.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
list-style: none;
1515
padding: 6px 12px;
1616
cursor: pointer;
17+
-webkit-tap-highlight-color: transparent;
1718

1819
&--selected {
1920
background: #fff;

style/react-tabs.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
list-style: none;
1515
padding: 6px 12px;
1616
cursor: pointer;
17+
-webkit-tap-highlight-color: transparent;
1718

1819
&--selected {
1920
background: #fff;

0 commit comments

Comments
 (0)