Skip to content

Commit

Permalink
Merge pull request #482 from hypothesis/fix-view-switcher-flicker-on-ios
Browse files Browse the repository at this point in the history
Fix view switcher flash on iOS
  • Loading branch information
robertknight committed Jul 4, 2017
2 parents ee080fe + 450beed commit 2797616
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/styles/view-switcher.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
background: $white;
transition: background-color .1s linear;

// This fixes the tabs flashing gray for a moment each time you tap on one
// in iOS Safari.
-webkit-tap-highlight-color: rgba(0,0,0,0);

border: 1px solid $gray-lighter;

cursor: pointer;
Expand Down

0 comments on commit 2797616

Please sign in to comment.