[autocomplete] argh
This commit is contained in:
parent
33adf9aeff
commit
a92d1ac7c5
1 changed files with 2 additions and 2 deletions
|
@ -113,8 +113,8 @@ function renderCompletions(element) {
|
|||
element.parentNode.insertBefore(completions_el, element.nextSibling);
|
||||
let br = element.getBoundingClientRect();
|
||||
completions_el.style.width = br.width + 'px';
|
||||
completions_el.style.left = br.left + 'px';
|
||||
completions_el.style.top = (br.top + br.height) + 'px';
|
||||
completions_el.style.left = window.scrollX + br.left + 'px';
|
||||
completions_el.style.top = window.scrollY + (br.top + br.height) + 'px';
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
Reference in a new issue