-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix(FEC-9281): ignore shortcut handling if focused on editable node #400
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check FLOW failing
I would like to refactor the keyboard shortcuts implementation and possibly make this as a HoC provider style that will allow each component to register it's own shortcut in the component did mount. |
@OrenMe I fixed the flow typecheck issue. It appears that flow declaration is partial for PReact keyboard event so checking for the type solve it. Please review and if possible merge to next version. |
@OrenMe what about this PR? when are you planning to merge it? Note that this is essential support for us and the suggested code change in this PR is minimal and will not affect any design you would decide upon later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@esakal please fix merge conflict. Thanks.
@OrenMe done |
Description of the Changes
ignore shortcut handling if focused on editable node
Solves FEC-9281