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

x/pkgsite: Search shortcut key doesn't work consistently across site #42704

Open
fflewddur opened this issue Nov 18, 2020 · 0 comments
Open

x/pkgsite: Search shortcut key doesn't work consistently across site #42704

fflewddur opened this issue Nov 18, 2020 · 0 comments

Comments

@fflewddur
Copy link

@fflewddur fflewddur commented Nov 18, 2020

Using the '/' shortcut for search works on package/module pages (e.g., https://pkg.go.dev/flag), but doesn't work on the home page or search results pages (e.g., https://pkg.go.dev/search?q=command). I expected the shortcut keys to behave consistently across the site.

What is the URL of the page with the issue?

https://pkg.go.dev/search?q=command
https://pkg.go.dev/

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

What did you do?

Pressed the '/' search shortcut key.

What did you expect to see?

I expected focus to move to the search box, as it does on package/module pages.

What did you see instead?

Nothing happened :(

@gopherbot gopherbot added the pkgsite label Nov 18, 2020
@gopherbot gopherbot added this to the Unreleased milestone Nov 18, 2020
@jamalc jamalc modified the milestones: Unreleased, pkgsite/frontend Nov 18, 2020
@jamalc jamalc added the NeedsFix label Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.