Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextField] Replaced WebkitTextFillColor with WebkitOpacity #7094

Merged
merged 1 commit into from Jun 9, 2017

Conversation

midan888
Copy link

@midan888 midan888 commented Jun 9, 2017

WebkitTextFillColor overwrites any custom html css color rules

  • PR has tests / docs demo, and is linted.
  • Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
  • Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@midan888 midan888 changed the title [TextField] Replaced WebkitTextFillColor with WebkitOpacity, WebkitTe… [TextField] Replaced WebkitTextFillColor with WebkitOpacity Jun 9, 2017
@@ -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,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that it can be as simple as WebkitOpacity: 1.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

…xtFillColor overwrites any custom html color rules
@oliviertassinari oliviertassinari added PR: Review Accepted component: text field This is the name of the generic UI component, not the React module! labels Jun 9, 2017
@oliviertassinari oliviertassinari merged commit 8ffc3da into mui:master Jun 9, 2017
@oliviertassinari
Copy link
Member

@midan888 Thanks

@luca-moser
Copy link

@oliviertassinari When will this be merged into a release? (0.18.4)

@oliviertassinari
Copy link
Member

Will do a release by the end of the week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text field This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants