-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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] Multiline does not carry 'color' style property. #3059
Comments
…i#3059 inputStyle is propagated to single-line TextField but not when on multi-line mode (textarea).
Has this fix 51e9f10 been merged? I'm still having this issue in 0.14.4. |
Not sure what should be done with inputStyle when we use a textarea, but textareaStyle is now available. For reference we have: inputElement = multiLine ? (
<EnhancedTextarea
style={inputStyleMerged}
textareaStyle={textareaStyleMerged}
...
/>
) : (
<input
style={this.prepareStyles(inputStyleMerged)}
...
/>
); when using a textarea inputStyle goes to the div including the textarea and textareaStyle to the actual textarea. |
That sounds good. I think that we can close this issue. |
Related to #3099, we're going to make the change in this comment which should fix this. I'll include considering this when we refactor TextField. |
I ran into an issue where
with an inputStyle of :
This colors the text in the text-field white as expected, but when I apply multiLine={true} the text turns to a default black, which, as you might imagine against a black background, is quite difficult to see.
The text was updated successfully, but these errors were encountered: