Merge pull request #272 from koloml/master

Minor fixes for the auto-completion
This commit is contained in:
liamwhite 2024-06-03 15:10:11 -04:00 committed by GitHub
commit b9199c060d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -43,6 +43,7 @@
position: absolute; position: absolute;
user-select: none; user-select: none;
white-space: nowrap; white-space: nowrap;
z-index: 999;
} }
.autocomplete__item { .autocomplete__item {

View file

@ -229,7 +229,7 @@ function listenAutocomplete() {
return; return;
} }
originalTerm = selectedTerm[1]; originalTerm = selectedTerm[1].toLowerCase();
} }
else { else {
originalTerm = `${inputField.value}`.toLowerCase(); originalTerm = `${inputField.value}`.toLowerCase();