-
Notifications
You must be signed in to change notification settings - Fork 3k
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
After navigating to another dashboard or switching browser tabs Quick Bar shortcut doesn't work until page clicked #7442
Comments
The problem with method 1 is known (and I think covered in the documentation): The main content area of the page needs to have the focus currently. For it to work in the sidebar, some underlying things have to be changed in the frontend first, which are already being worked on. Reg. method 2: Simply switching a tab in the browser does not impact the focus for me, so if the HA tab did have the proper focus before switching tabs, it still does once I come back to it and so the quick bar works for me (tested in Firefox 82) |
I also haven't been able to reproduce the issue switching tabs again either, so the page probably didn't have focus before I switched tabs like you said. |
This is a known issue. The fix is to refactor the left nav to use This is non-trivial, but we already have a PR being worked on: #7326 |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Checklist
The problem
When navigating to another Lovelace dashboard or switching tabs in the browser, the keyboard shortcut for the Quick Bar doesn't work (brings up the standard print dialogue box instead) until the page is clicked.
Expected behavior
Quick Bar keyboard shortcut works immediately after navigating to another dashboard or switching tabs.
Steps to reproduce
Method 1
Method 2
After doing either of these the print dialogue box will be displayed instead of the Quick Bar.
After clicking on the page the keyboard shortcut will display the Quick Bar as expected.
Environment
State of relevant entities
Problem-relevant configuration
Javascript errors shown in your browser console/inspector
Additional information
The text was updated successfully, but these errors were encountered: