-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fires multiple times for multiple instances #144
Comments
Firing the key handler for each component is the expected behaviour, if this is unwanted you should move the |
I've just noticed that I sometimes get a double fire when there is a prop change due to the update, solved this through a |
@ayrton Is there any chance to add option to disable this? Moving the KeyHandler is not possible for me. |
I have a component that contains this:
So, when i make multiple instances of my React component that contains this, I'm finding that
onKeyHandler
fires for ALL when ONE of them receives a keypress event. Any idea why this is happening or how to prevent it?The text was updated successfully, but these errors were encountered: