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

Allow for inputProps.style to take effect #4694

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

droplet-tech
Copy link

@droplet-tech droplet-tech commented Mar 4, 2022

Summary

inputProps.style is not passed into input but is a valid prop

// propose using array style with props.style having the final say
style={[Platform.OS === 'web' ? { outline: 'none' } : {}, props.style]}

This will allow better flexibility for users to allow the parent component to be control when needed.

For example: { "resize": "auto" } for TextArea in web

This will allow better flexibility for users to allow the parent component to have final say in the style when needed.

For example: { "resize": "auto" } for TextArea in web
@auto-assign auto-assign bot requested a review from md-rehman March 4, 2022 15:31
@vercel
Copy link

vercel bot commented Mar 4, 2022

@droplet-tech is attempting to deploy a commit to the Geekyants Team Team on Vercel.

A member of the Team first needs to authorize it.

@stale
Copy link

stale bot commented May 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 4, 2022
@joseito-terence
Copy link

Is there a way to set { "resize": "auto" } for web on Textareas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants