Skip to content

Commit

Permalink
Merge pull request #442 from dimafeldman/flickering_fix
Browse files Browse the repository at this point in the history
fix for webkit page flickering when opening the picker
  • Loading branch information
amsul committed Jul 6, 2014
2 parents 2e8080d + e9730da commit c42895f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/themes-source/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
// Fade out the background, then immediately shift the holder out of view.
@transition: background @speed-animate-in ease-out, top 0s @speed-animate-in;
.transition( @transition );

// Avoid flickering of the page on webkit browsers
-webkit-backface-visibility: hidden;
}


Expand Down
1 change: 1 addition & 0 deletions lib/themes/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
-webkit-transition: background 0.15s ease-out, top 0s 0.15s;
-moz-transition: background 0.15s ease-out, top 0s 0.15s;
transition: background 0.15s ease-out, top 0s 0.15s;
-webkit-backface-visibility: hidden;
}
/**
* The frame that bounds the box contents of the picker.
Expand Down

0 comments on commit c42895f

Please sign in to comment.