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

Search anything that starts with 's' on docs.rs #50074

Closed
ivanovaleksey opened this issue Apr 19, 2018 · 3 comments
Closed

Search anything that starts with 's' on docs.rs #50074

ivanovaleksey opened this issue Apr 19, 2018 · 3 comments

Comments

@ivanovaleksey
Copy link

ivanovaleksey commented Apr 19, 2018

Hello,

It seems I have noticed a bug on docs.rs.

I am not able to search anything that start with 'S'.
I guess it is because of

Click or press ‘S’ to search, ‘?’ for more options…

So, when one presses 'S' search field takes a focus but consequent 'S' presses do nothing.
It results in very inconvenient way to search without leading 'S' and to hope that autocomplete will help me.

I have opened a topic on Rust Forum.
There are interesting points from others:

It’s worth noting that this does not happen if you try searching sufficiently old docs. Here’s an example of sufficiently old docs that don’t exhibit this problem.

Just tried. Also sometimes does not work when second is s.

I don't know where this issue should be filed.
Please, correct me if I am doing something wrong.

Thank you.

P. S.
I tried on macOS with:

  • Chrome 65.0.3325.181
  • Safari 11.0.3 (13604.5.6)

Also, it works fine on https://doc.rust-lang.org/std/

@smt923
Copy link
Contributor

smt923 commented Apr 19, 2018

For me pressing S focuses the search box correctly and then I'm able to type anything, including using S, so maybe this is browser specific, or possibly something related to #50064? But for me on Firefox 59 pressing S to focus the search bar works for me, both in stable and nightly docs (until I input the same search query after removing it already, as in the referenced issue)

@nagisa
Copy link
Member

nagisa commented Apr 19, 2018

This has been fixed by #49152. You should fill an issue against docs.rs and request them to upgrade.

@ivanovaleksey
Copy link
Author

Thank you guys.
It turns out an issue has been already filed on docs.rs repository https://github.com/onur/docs.rs/issues/190
Also, this issue is a duplicate of #49075

@nagisa nagisa closed this as completed Apr 19, 2018
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

3 participants