Skip to content
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

Automatically change focus to type notes when a sidebar or popup opens #35

Open
avidseeker opened this issue Jun 27, 2020 · 1 comment

Comments

@avidseeker
Copy link

Feature Request

Automatically change focus to type notes when a sidebar or popup opens
For example, in Firefox, pressing CTRL + H opens the history in the sidebar and automatically focuses on the search bar.

@Rayquaza01
Copy link
Owner

The popup should already auto focus the textbox.
The sidebar can't because of a quirk with how Firefox handles sidebars. When the popup is opened, focus is given to the popup. This makes it easy to auto focus the textbox. With sidebars, the focus is left with the current tab and is NOT given to the sidebar. There is no way for an extension's sidebar to take the focus without the user clicking into the sidebar AFAIK.

The bookmarks and history sidebars can auto focus presumably because they are part of Firefox and not an extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants