jQuery autocomplete mouse choice fires the blur event

Viewed 10755

I use the jQuery UI .autocomplete(), which I really love. I do have one major problem I cannot solve.

When I type a letter, say s, and stackoverflow appears in the drop-down menu, and I use the mouse to select stackoverflow, then the input box temporarily loses focus, which causes the onblur event to be called.

Although technically the input box is blured when I click, this goes against usability intuition. How can I fix this annoying behavior?

3 Answers
Related