Skip to main content

jQuery UI autocomplete issue on SharepointSharePoint 2013

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 whitoutwithout 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", "");
            });
         }

JSBin Sample

jQuery UI autocomplete issue on Sharepoint 2013

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 whitout 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", "");
            });
         }

jQuery UI autocomplete issue on SharePoint 2013

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", "");
});

JSBin Sample

Source Link

jQuery UI autocomplete issue on Sharepoint 2013

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 whitout 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", "");
            });
         }