mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
Un-reverse TagEditor autocompletion navigation
This commit is contained in:
parent
b8a5b5d685
commit
5156ed62c3
1 changed files with 3 additions and 3 deletions
|
@ -247,12 +247,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
switch (event.code) {
|
||||
case "ArrowUp":
|
||||
autocomplete.selectNext();
|
||||
autocomplete.selectPrevious();
|
||||
event.preventDefault();
|
||||
break;
|
||||
|
||||
case "ArrowDown":
|
||||
autocomplete.selectPrevious();
|
||||
autocomplete.selectNext();
|
||||
event.preventDefault();
|
||||
break;
|
||||
|
||||
|
@ -432,7 +432,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<div class="adjust-position">
|
||||
<WithAutocomplete
|
||||
drop="up"
|
||||
class="d-flex flex-column-reverse"
|
||||
class="d-flex flex-column"
|
||||
{suggestionsPromise}
|
||||
on:update={updateSuggestions}
|
||||
on:select={({ detail }) => onAutocomplete(detail.selected)}
|
||||
|
|
Loading…
Reference in a new issue