-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Editor] Don't steal the keyboard events when editing mode is enabled #17204
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.
I'm sorry to say that I'm not a fan of having to sprinkle event-handlers throughout the viewer code-base, since it really doesn't feel like a very maintainable solution.
Can't we handle this at the Editor-level instead, e.g. by checking that the active element is within the page and/or viewer?
To be honest, my feeling is that nothing is exciting here. If in 6 months we've to add an element in the UI which can be controlled with the keyboard, we've to remember that it can badly interact with the editing mode, even if it's unrelated. |
cf0db08
to
805b102
Compare
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.
r=me, thank you!
/botio integrationtest |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/cfb72308491df92/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/019660720d9d4e9/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/019660720d9d4e9/output.txt Total script time: 5.68 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/cfb72308491df92/output.txt Total script time: 19.20 mins
|
805b102
to
0b554fe
Compare
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/e05bf72a7deded8/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/8e27b554b171c5e/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/e05bf72a7deded8/output.txt Total script time: 2.36 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/8e27b554b171c5e/output.txt Total script time: 8.57 mins
|
0b554fe
to
77475ac
Compare
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/06fa5fecd7669cd/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/f48a64df1c9b38a/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/06fa5fecd7669cd/output.txt Total script time: 5.49 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/f48a64df1c9b38a/output.txt Total script time: 14.97 mins
|
No description provided.