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

Keyboard keeps disappearing after each keypress on iPad #554

Closed
WilliamLum opened this issue Apr 3, 2014 · 0 comments
Closed

Keyboard keeps disappearing after each keypress on iPad #554

WilliamLum opened this issue Apr 3, 2014 · 0 comments

Comments

@WilliamLum
Copy link

There seems to be a bug using the bootstrap-select on the iPad.

Every time you type in a new letter it seems that it loses focus to refocus on what the live search found. The problem was that this made the keyboard go away so if for instance you were trying to type, "hello", after the h, the keyboard would have disappeared...

The solution I found was to change the focus on line 683 on version v1.5.4:
that.$menu.find('li').filter(':visible:not(.divider)').eq(0).addClass('active').find('a').focus();

I changed this to:
that.$menu.find('li').filter(':visible:not(.divider)').eq(0).addClass('active').find('a');

I was using iOS7 and only tested it on Safari and Chrome.

This seemed to fix the issue.

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

1 participant