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

Toggle to remove focus of the search bar at startup #2920

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

bon-sai-tree
Copy link

@bon-sai-tree bon-sai-tree commented Nov 11, 2024

When the browser launches, the urlbar is always focused, instead of the homepage. This behavior doesn't happen on Firefox and doesn't work for users that have a homepage with a searchbar.

This PR uses a toggle to disable the focusing of the urlbar: zen.urlbar.disable-initial-focus
The default value is false so it doesn't change anything for existing users.

There was already an PR without an toggle: #1742
Also an issue: #973
And a discussion: #1169

I'm not really familiar with the codebase and would appreciate feedback :)

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. Feature labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant