jquery-autocomplete icon indicating copy to clipboard operation
jquery-autocomplete copied to clipboard

Fixed invalid blur when mousedown is hold on resultlist.

Open avalax opened this issue 11 years ago • 1 comments

Reproducible using the demo/index.html Enter a search and select an item and hold the mouse button. The item is not selected and the list disappears.

This fixes it, tested with IE8, Chromium 28 on Linux, Firefox 22 on Linux.

avalax avatar Jul 19 '13 15:07 avalax

I fixed this by changing finishOnBlur_ variable to false.

    /**
     * @property {boolean} Is this autocompleter allowed to finish on blur?
     * @private
     */
    this.finishOnBlur_ = false;

farzadpanahi avatar Dec 11 '13 21:12 farzadpanahi