fix blurring of menu
if you click and hold (without releasing mouse), the dropdown will still blur/hide. This is because the order of events goes
mousedown -> blur -> mouseup -> click
So basically you must click "quickly" or lose the menu
What was wrong before? Now if you don't release it quickly it just hides suggestions and does not select anything.
Yep, again and again and this fix still not merged for almost a year @tkirda. #685
@719media the problem with your fix is, that if you start clicking on results and then move mouse out of the results div, and release button, then autocomplete becomes broken (focus lost and nothing can hide results).
So after 2 hours of efforts I came to this solution: https://gist.github.com/alpha-and-omega/10f4644abed5abb393b285e92baa4015 This just prevents losing focus by mousedown event and everything else works perfectly. My patch probably makes it posible to remove that idiotic delay in onBlur handler.