I have an existing popup.html I'm testing for sidePanel. It currently has an input field for the user to enter tags. The input has the autofocus attribute eg:
<input name="tags" autofocus>
Currently, when the popup is invoked via action or shortcut, the input field is autofocused and the user can quickly make an input, invoke the shortcut, and get back to browsing.
With sidepanel, the autofocus is not happpening when the user invokes via the extension icon or shortcut.
Further, it seems like the sidepanel itself does not get focus when invoked.
1. is there a way to autofocus an input field in sidebar when the user action / command is made?
2. Is there a way to leave sidebar open, and switch between the sidebar and the active tab without leaving the keyboard? e.g. switching between scrolling a page with keyboard shortcuts and taking notes in a sidebar.