We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff3c50 commit 0e3e793Copy full SHA for 0e3e793
plugins/autocomplete.js
@@ -44,8 +44,8 @@ codeInput.plugins.Autocomplete = class extends codeInput.Plugin {
44
}
45
46
let textarea = codeInput.textareaElement;
47
- textarea.addEventListener("input", () => { this.updatePopup(codeInput, false)});
48
- textarea.addEventListener("click", () => { this.updatePopup(codeInput, false)});
+ codeInput.addEventListener("keypress", () => { this.updatePopup(codeInput, false)});
+ codeInput.addEventListener("click", () => { this.updatePopup(codeInput, false)});
49
50
/**
51
* Return the coordinates of the caret in a code-input
0 commit comments