[GH-ISSUE #20] [BUG] Firefox autofocus not working properly #15

Closed
opened 2026-02-25 20:34:40 +03:00 by kerem · 2 comments
Owner

Originally created by @benbusby on GitHub (May 10, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/20

Originally assigned to: @benbusby on GitHub.

Describe the bug
Autofocus of the search field on the main page was added in #16, but didn't seem to be working properly on Firefox (version 76, macOS).

To Reproduce

  1. Go to the main page
  2. Check to see if typing in the search bar is instantly accessible

Expected behavior
Search field should be focused on page load

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Firefox
  • Version 76
Originally created by @benbusby on GitHub (May 10, 2020). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/20 Originally assigned to: @benbusby on GitHub. **Describe the bug** Autofocus of the search field on the main page was added in #16, but didn't seem to be working properly on Firefox (version 76, macOS). **To Reproduce** 1. Go to the main page 2. Check to see if typing in the search bar is instantly accessible **Expected behavior** Search field should be focused on page load **Desktop (please complete the following information):** - OS: macOS - Browser: Firefox - Version 76
kerem 2026-02-25 20:34:40 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@raonetwo commented on GitHub (May 10, 2020):

can confirm, doesn't work on Ubuntu 20.04 either.

<!-- gh-comment-id:626383780 --> @raonetwo commented on GitHub (May 10, 2020): can confirm, doesn't work on Ubuntu 20.04 either.
Author
Owner

@benbusby commented on GitHub (May 15, 2020):

Closing this for now -- I can't get anything to work for autofocus. Adding autofocus to the input field doesn't work, adding focus scripting to the js controller, and manually triggering focus through js all don't work. At this point I'm inclined to think that this might be a weird Firefox issue, since it works fine on every other browser + OS combination I've tried.

If someone comes across this and notices that it's something I've overlooked, please feel free to reopen.

<!-- gh-comment-id:629407573 --> @benbusby commented on GitHub (May 15, 2020): Closing this for now -- I can't get anything to work for autofocus. Adding `autofocus` to the input field doesn't work, adding focus scripting to the js controller, and manually triggering focus through js all don't work. At this point I'm inclined to think that this might be a weird Firefox issue, since it works fine on every other browser + OS combination I've tried. If someone comes across this and notices that it's something I've overlooked, please feel free to reopen.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#15
No description provided.