Skip to content

Rustdoc: cannot type "add_assign" into the search box #49115

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

Closed
ghost opened this issue Mar 17, 2018 · 5 comments
Closed

Rustdoc: cannot type "add_assign" into the search box #49115

ghost opened this issue Mar 17, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 17, 2018

This is a really strange bug. It manifests in both Firefox and Chrome.

How to reproduce:

  1. Go to https://doc.rust-lang.org/nightly/std/
  2. Type add_assign into the search box.
  3. Only add_ will show up in the box. The rest of the entered characters are ignored.
@hanna-kruppe
Copy link
Contributor

Can't reproduce on Firefox 59.0.1 (64-Bit), Windows 10.

@sfackler
Copy link
Member

Seems to work for me on Chrome in Windows 10.

@bluss
Copy link
Member

bluss commented Mar 17, 2018

I am at times having problems with typing s into the search box, and that happened when I tried to reproduce this bug as well (So you get add_aign). Browser Firefox 59.0.1, on Linux.

@ghost
Copy link
Author

ghost commented Mar 17, 2018

Ok, here's some more information.

If I type add_a and wait for two seconds until the search results show up, then I can continue typing ssign. It's all good.

But if I don't wait after typing add_a, and just continue typing s, then search results will never show up. The page is simply stuck in an odd state and I cannot type in any more letters.

The only way of "fixing" it seems to be by hitting backspace and waiting for the results to show up. After that I can type assign.

@kennytm
Copy link
Member

kennytm commented Mar 17, 2018

Duplicate of #49075.

@kennytm kennytm closed this as completed Mar 17, 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

4 participants