dotnet / dotnet/docfx

Inconsistent typeahead when searching

Open
#6,614 0 comments 0 reactions 0 assignees View on GitHub
search
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

**Operating System**: `Windows`

**Steps to Reproduce**:

1. Go to [DocFx documentation](https://dotnet.github.io/docfx/api/Microsoft.DocAsCode.html)
2. Type "Attr"
![attr](https://user-images.githubusercontent.com/15671805/94902715-ecd73900-0498-11eb-91c9-a87bf38d53b0.png)

3. Type "Attri"
![attri](https://user-images.githubusercontent.com/15671805/94902717-ed6fcf80-0498-11eb-8fa7-49255eb012ea.png)

4. Type "Attribut"
![attribut](https://user-images.githubusercontent.com/15671805/94902719-ed6fcf80-0498-11eb-8078-80423bf6e432.png)

**Expected Behavior**:
The same search results are returned when you continue to type a word.

**Actual Behavior**:
When searching you get typeahead suggestions after typing a couple of letters but if you continue typing the suggestions dissappear. After a few more letters suggestions can return but can be completely different.

I have the same issue for most words not only "Attrbiute" in the above example.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.