Skip to content

Commit

Permalink
fix: escape key was hiding autocomplete even after subsequent letter …
Browse files Browse the repository at this point in the history
…presses
  • Loading branch information
juleskuehn committed Jul 7, 2023
1 parent c3f7c58 commit 6e737e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autocomplete/static/autocomplete/js/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ function phac_aspc_autocomplete_keydown_handler(event) {
if (prev) switchFocus(prev, container);
}
return false;
} else {
phac_aspc_autocomplete_closed[id] = false;
}
phac_aspc_autocomplete_clear_focus(container, true);
return true;
Expand Down

0 comments on commit 6e737e3

Please sign in to comment.