-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Toolbar Arrow Navigation (just adding ESC behaviour) #2996
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
Toolbar Arrow Navigation (just adding ESC behaviour) #2996
Conversation
|
@youknowriad I've noticed that pressing ESC in the toolbar for image blocks has no effect. Is that intended? |
Codecov Report
@@ Coverage Diff @@
## try/toolbar-arrow-navigation #2996 +/- ##
================================================================
- Coverage 34.38% 33.87% -0.52%
================================================================
Files 197 194 -3
Lines 5935 5798 -137
Branches 1065 1021 -44
================================================================
- Hits 2041 1964 -77
+ Misses 3283 3240 -43
+ Partials 611 594 -17
Continue to review full report at Codecov.
|
|
Like discussed in DM, this approach doesn't work seamlessly in all the blocks because we're not making a strong difference between the "selected" and the "focused" state in the store. I think we should keep the current approach for now, and try to bring this focused/selected state in a separate PR. |
|
@youknowriad has
started to be resolved anywhere? |
|
I know @mcsf had thoughts about this. I don't know if he started something or not. Also, the vertical navigation PR might be related. |
|
Nothing yet, no. Just loose thoughts in my head. Selection vs. focus is a thing to address after vertical nav (#2988), I believe. |
Description
NOTE: Only merging to an existing branch, not master
Building on #2960, just adding the ability for pressing ESC to refocus the block (in whatever way the particular block receives focus)
How Has This Been Tested?
Just manually.
Screenshots (jpeg or gifs if applicable):
Types of changes
Bug fix for ESC to focus editable areas
Checklist: