This repository has been archived by the owner on Sep 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 376
keyboard event listener not unregistered #176
Comments
Any idea about the origin of the bug ? |
I've published [email protected] with possible fix. Can you try it? |
@vkbansal thanks for the release ! example here: https://jsfiddle.net/6ty1r8yn/1/ |
This issue is caused by https:/vkbansal/react-contextmenu/blob/master/src/SubMenu.js#L215 This will need a deep dive and may take some time |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
1.9.1
Test Case
https://jsfiddle.net/6ty1r8yn/1/
Steps to reproduce
Expected Behavior
I should have a text with multiple new line in the textarea
Actual Behavior
no new line is added
Additional informations
The arrow key are also not working.
I suspect it comes from https:/vkbansal/react-contextmenu/blob/master/src/AbstractMenu.js#L21
in the console there is a warning when using the arrow key or enter:
Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.
Please check the code for the t component.
The text was updated successfully, but these errors were encountered: