-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-6185] fix prevent shortcut working in input field #4925
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
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.
👍
@sh1nj1 Can you answer the question in Jira or should I transfer it to GitHub? |
I answered, I think it is better to fix first. |
@sh1nj1 |
45ec7bf
to
8b1745d
Compare
@Reamer rebased |
### What is this PR for? This PR fixes an issue that prevents entering shortcut characters in input fields. When using a dynamic input field, characters like 'l', 'b', etc., are treated as shortcuts and cannot be entered. This fix prevents shortcut actions from being triggered when the focused element is an input field. ### What type of PR is it? Bug Fix ### Todos ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-6185 ### How should this be tested? * Create new notebook using dynamic input field * Enter 'l' character and see if it is not working as shortcut(toggling line numbers) ### Screenshots (if appropriate) ### Questions: * Does the license files need to update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Closes #4925 from sh1nj1/fix/shortcut-in-text-field. Signed-off-by: Philipp Dallig <philipp.dallig@gmail.com> (cherry picked from commit 94ae845) Signed-off-by: Philipp Dallig <philipp.dallig@gmail.com>
@sh1nj1 Thanks for your contribution. I have created the following ticket to standardize the shortcuts. |
What is this PR for?
This PR fixes an issue that prevents entering shortcut characters in input fields.
When using a dynamic input field, characters like 'l', 'b', etc., are treated as shortcuts and cannot be entered.
This fix prevents shortcut actions from being triggered when the focused element is an input field.
What type of PR is it?
Bug Fix
Todos
What is the Jira issue?
How should this be tested?
Screenshots (if appropriate)
Questions: