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

Add support for TextInput (and other component) refs #81

Open
edrpls opened this issue May 17, 2019 · 1 comment
Open

Add support for TextInput (and other component) refs #81

edrpls opened this issue May 17, 2019 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@edrpls
Copy link

edrpls commented May 17, 2019

Currently, it is not possible to pass a ref to for example, focus or blur text inputs, it would be really nice to have this.

@osiux
Copy link

osiux commented May 17, 2019

From React 16.3.0 there is forwardRef, which is perfect for this.

@mnicole mnicole added enhancement New feature or request good first issue Good for newcomers labels May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants