Skip to content

Commit

Permalink
Fix label display with Chrome autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
EnzoMartin committed Nov 6, 2015
1 parent 0d86eea commit 34e26fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/text-field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ const TextField = React.createClass({
top: 38,
bottom: 'none',
opacity: 1,
zIndex: 1, // Needed to display label above Chrome's autocomplete field background
transform: 'scale(1) translate3d(0, 0, 0)',
transformOrigin: 'left top',
});
Expand Down

0 comments on commit 34e26fb

Please sign in to comment.