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 51468c9 commit 6b6d276Copy full SHA for 6b6d276
lib/plugins/codeit-autocomplete.js
@@ -332,7 +332,7 @@ function onCaretMove() {
332
333
suggestions.classList.remove('visible');
334
suggestions.innerHTML = '';
335
- topHitEl.textContent = '';
+ topHitEl.innerHTML = '';
336
337
} else {
338
@@ -430,10 +430,10 @@ function moveSuggestionsToCaret(cursor) {
430
input.on('scroll', () => {
431
432
if (suggestions.classList.contains('visible')) {
433
-
434
- const cursor = cd.dropper.cursor();
435
436
- moveSuggestionsToCaret(cursor);
+
+ suggestions.classList.remove('visible');
+ suggestions.innerHTML = '';
437
438
}
439
0 commit comments