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

Warning: Invalid DOM property enterkeyhint #1778

Closed
steida opened this issue Oct 21, 2020 · 1 comment
Closed

Warning: Invalid DOM property enterkeyhint #1778

steida opened this issue Oct 21, 2020 · 1 comment

Comments

@steida
Copy link

steida commented Oct 21, 2020

The problem
React 17 changed valid DOM property dev warning logic.
react-dom.development.js?61bb:67 Warning: Invalid DOM property enterkeyhint. Did you mean enterKeyHint?

How to reproduce
Just use TextInput.
https://codesandbox.io/s/zen-knuth-zn4ux

Expected behavior
Change this line supportedProps.enterkeyhint = returnKeyType; in TextInput. However, it would break React < 17 so I am not really sure how it should be fixed.

@necolas
Copy link
Owner

necolas commented Oct 21, 2020

Duplicates #1707

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

No branches or pull requests

2 participants