I've been working on a project and I decided to use jQuery-UI Autocomplete, the problem I've encountered is that when I scroll the page the "Dropdown menu" doesn't stay attached to his original position, it stays in the same position without moving whit the page and the textbox as expected (hope i've explained myself in a proper way). This problem seems to appear only in Sharepoint as in JSfiddle it doesn't act like that. Any idea why? Thanks a lot.
$("#"+tIDle).autocomplete({
source: valuesA,
minLength: 0,
}).focus(function() {
$(this).autocomplete("search", "");
});