Skip to content

Commit

Permalink
[TextField] Replaced WebkitTextFillColor with WebkitOpacity, WebkitTe…
Browse files Browse the repository at this point in the history
…xtFillColor overwrites any custom html color rules
  • Loading branch information
mdanielyan committed Jun 9, 2017
1 parent 6c8918c commit f182d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextField/TextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const getStyles = (props, context, state) => {
color: props.disabled ? disabledTextColor : textColor,
cursor: 'inherit',
font: 'inherit',
WebkitTextFillColor: props.disabled ? disabledTextColor : textColor,
WebkitOpacity: props.disabled ? 1 : null,
WebkitTapHighlightColor: 'rgba(0,0,0,0)', // Remove mobile color flashing (deprecated style).
},
inputNative: {
Expand Down

0 comments on commit f182d22

Please sign in to comment.