Open MeMyselfI opened 12 years ago
When you use "maxItems: 1" the cursor will stay in the field after selecting one element (IE 8+). The problem is this method:
input.blur( function() { isactive = false; if (complete_hover) { complete.fadeOut("fast"); } else { input.focus(); } });
Everytime I try to leave the field the focus jumps right back. I added
if (!maxItems ()) return;
as the first line of the method and it works fine now.
Also happens in Chrome.
https://github.com/emposha/FCBKcomplete/issues/107
When you use "maxItems: 1" the cursor will stay in the field after selecting one element (IE 8+). The problem is this method:
input.blur( function() { isactive = false; if (complete_hover) { complete.fadeOut("fast"); } else { input.focus(); } });
Everytime I try to leave the field the focus jumps right back. I added
if (!maxItems ()) return;
as the first line of the method and it works fine now.