-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
data viewer should gain keyboard focus when activated #2451
Comments
@gtritchie what is your opinion on this for accessibility? I'm not sure if focus stealing would be good or bad in this case. I can see an argument wanting to keep the focus in the terminal as well. |
Agree with Kevin, data viewer should get keyboard focus when opened with View and when opened with Ctrl+1. It's fine for a different part of the UI to get focus as result of a user action. Several similar interwoven issues that I'll be working on in 1.4, so feel free to assign to me. For example, see #5652. |
The major case where a pane shouldn't grab focus as a result of user action is when navigating between tabs with keyboard (e.g. as you captured in #5515. |
👍 |
This is closer to working; the source columns F6 pane-switching work done by @melissa-barca now results in the data viewer's toolbar getting keyboard focus. However you still cannot tab into the actual grid and use the arrows to scroll. I did try giving the
So, all told, too much to mess with for 1.4; moving to 1.5. |
System details
Steps to reproduce the problem
Open the data viewer with e.g.
View(mtcars)
. Then attempt to scroll using the arrow keys.Describe the problem in detail
The viewer is not scrolled.
Describe the behavior you expected
The data viewer should gain keyboard focus after activation, so that one can easily scroll with the keyboard. In the same vein, Ctrl + 1 should transfer focus to an open data viewer when possible as well.
The text was updated successfully, but these errors were encountered: