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

[BUG] InvalidKeyNameError is raised with a know valid key #198

Closed
greena13 opened this issue Jun 17, 2019 · 1 comment
Closed

[BUG] InvalidKeyNameError is raised with a know valid key #198

greena13 opened this issue Jun 17, 2019 · 1 comment

Comments

@greena13
Copy link
Owner

The list of valid key names longer than a single character (i.e. the names of non-printable keys) is incomplete. This results in a InvalidKeyNameError being thrown when you try and use a valid key like up with the ObserveKeys only prop.

ObserveKeys only={["up"]}> // Throws InvalidKeyNameError
  // ...
</ObserveKeys>
@greena13
Copy link
Owner Author

Fix is now available in v2.0.0-pre8.

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

1 participant