jQuery-Autocomplete
jQuery-Autocomplete copied to clipboard
jq autocomplete + jq colorbox = bug o(╥﹏╥)o
hey guys, i used jq colorbox in a page, and jq autocomplete in that page as well, both via <script src="xxx" /> insert to the html file, but there is question:
- in the popups page, when i scroll it then typing words in the
inputelement which load theautocomplete - everything is ok before i select a item from the
ui-menuui-menu-item, when iclicktheui-menu, the popups page will scroll !!!!!!!!!!! omg it scrolled with no reason - and there is nothing being selected, and
ui-menukeep the shown status, theselect callbackdoesn't invoke at all !!!!!!!!!! - until i
clickui-menusecond time, theselect callbackwill be invoked finally,autocomplete'scycle lifecompleted when the popups page rendered, if the scroll bar in the top, the everything is perfect, once the scroll bar move, the page scrolled, theselect callbackcan't be invoked as usual if i don't usecolorbox,just useautocompletein a normal page, this problem doesn't exist at all,so...... i wish u guys can help me to fix it, thx a lot
i tried on focus cycle life disabled the scroll bar but it doesn't work:when i click the ui-menu the page still scroll