-
-
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 #3099
Conversation
…i#3059 inputStyle is propagated to single-line TextField but not when on multi-line mode (textarea).
@third Thanks much for your (first-time) contribution. Welcome to the community, it's super appreciated. I think the @oliviertassinari @alitaheri @mbrookes If not, I recommend we change We would change it to something like this: <EnhancedTextarea
{...other}
{...inputProps}
// style={inputStyle} <- remove this line
rows={rows}
rowsMax={rowsMax}
onHeightChange={this._handleTextAreaHeightChange}
textareaStyle={inputStyle} // changed line
/> This change means that we wouldn't make the root style for |
Good point. We should keep doing it 😁.
|
@third I'm going to close this for now. We really want to write tests and refactor TextField because we've been getting a lot of issues and PRs opened for it recently. I'll keep this on the radar and include when we're ready to make changes to the component. Thanks much for this! |
Actually @third, on reviewing an issue that was related to this, is there a reason why you couldn't use the |
Added update to propagate inputStyle to textarea.
(First-time contributor here)