Skip to content
Snippets Groups Projects
Commit 2d6f0566 authored by marcantoinem's avatar marcantoinem
Browse files

fix: autocomplete now take in charge the last character

parent 39a8ef70
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ fn get_suggestions(
.partition_point(|c| c.value[0..cmp::min(i, c.value.len())] <= input_value[0..i]);
if bottom < sorted_possibilities.len() && sorted_possibilities[bottom].value == input_value {
is_hidden.set(false);
suggestion_range.set(bottom..top);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment