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

[BUG] Enter to redirect to search results doesn't work in Firefox #106

Closed
4 tasks done
ltguillaume opened this issue Mar 7, 2023 · 2 comments
Closed
4 tasks done
Assignees

Comments

@ltguillaume
Copy link
Contributor

ltguillaume commented Mar 7, 2023

I have checked all the prerequisites below and I'm yet experiencing a problem

  • Read the README.md
  • Have the extended version of Hugo installed
  • Used the exampleSite's config.toml as a reference
  • If and when requested, I'll link my repo to make it easier to debug.

⚠️ NOTE: If the issue isn't easy to reproduce and its author(s) decline to provide reasonable accommodation to debug, the issue will be closed.

Describe the bug

  1. The docs state that the user should be able to press Enter in the search field to be redirected to the search page. This is useful if there are more than 8 results and to see text previews of the results. However, pressing Enter does not do anything on Firefox-based browsers. I've also tested on your example site directly.

  2. Even in Chromium-based browsers, when already on the search page, a new search + Enter does not produce the text previews.

Desktop (please complete the following information):

  • OS: Win10
  • Browser: Firefox, LibreWolf 110
@onweru onweru self-assigned this Mar 7, 2023
@onweru
Copy link
Owner

onweru commented Mar 7, 2023

Apparently, 'search' event isn't supported on Firefox. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/search_event. Thank you, fixing it.

2 is detailed in #84. will fix too.

@ltguillaume
Copy link
Contributor Author

Great! Thank you! 😃

onweru added a commit that referenced this issue Jan 14, 2024
@onweru onweru closed this as completed Jan 14, 2024
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