Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus problem IE (quicks mode) #122

Open
MeMyselfI opened this issue Apr 4, 2012 · 1 comment
Open

Focus problem IE (quicks mode) #122

MeMyselfI opened this issue Apr 4, 2012 · 1 comment

Comments

@MeMyselfI
Copy link

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.

@Dzhuneyt
Copy link

Also happens in Chrome.

#107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants