Fixes #2 #4 #5 - Capture mousedown event in autocomplete used by the blur event to determine if it was triggered by a scroll click or an item selection, in which case we set focus back to the input instead of closing the autocomplete. Added a click listener to the document body that triggers the autocomplete to close when the click is not within the textext wrap element.
Fixes #2 #4 #5 - Capture mousedown event in autocomplete used by the blur event to determine if it was triggered by a scroll click or an item selection, in which case we set focus back to the input instead of closing the autocomplete. Added a click listener to the document body that triggers the autocomplete to close when the click is not within the textext wrap element.
dyx/jquery-textext,jscott1989/jquery-textext,cesarmarinhorj/jquery-textext,garbas/jquery-textext,cesarmarinhorj/jquery-textext,DustinH/jquery-textext,dyx/jquery-textext,DustinH/jquery-textext,continuata/jquery-textext,continuata/jquery-textext,jscott1989/jquery-textext,alexgorbatchev/jquery-textext,alexgorbatchev/jquery-textext,garbas/jquery-textext