jQuery-Autocomplete icon indicating copy to clipboard operation
jQuery-Autocomplete copied to clipboard

jq autocomplete + jq colorbox = bug o(╥﹏╥)o

Open SilentFlute opened this issue 7 years ago • 1 comments

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 input element which load the autocomplete
  • everything is ok before i select a item from the ui-menu ui-menu-item, when i click the ui-menu, the popups page will scroll !!!!!!!!!!! omg it scrolled with no reason
  • and there is nothing being selected, and ui-menu keep the shown status, the select callback doesn't invoke at all !!!!!!!!!!
  • until i click ui-menu second time, the select callback will be invoked finally, autocomplete's cycle life completed 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 use colorbox,just use autocomplete in a normal page, this problem doesn't exist at all,so...... i wish u guys can help me to fix it, thx a lot

SilentFlute avatar Jun 08 '18 02:06 SilentFlute

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

SilentFlute avatar Jun 09 '18 08:06 SilentFlute