Skip to content

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

Description

@ivanovaleksey

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/

Activity

  1. smt923 commented on Apr 19, 2018

    @smt923
    Contributor

    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)

  2. nagisa commented on Apr 19, 2018

    @nagisa
    Member

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

  3. ivanovaleksey commented on Apr 19, 2018

    @ivanovaleksey
    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions