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: fix forwardedRef propType #903

Conversation

christianvuerings
Copy link
Contributor

@christianvuerings christianvuerings commented Jun 5, 2020

We added forwardedRef in #901 but the propType was incorrect. See https://stackoverflow.com/a/51127130/117193 for more info

Note that we still need to use current: PropTypes.any, since current: PropTypes.instanceOf(Element) breaks in jest - for testEnvironment set to node
jestjs/jest#7786

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

Successfully merging this pull request may close these issues.

1 participant