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

Fix keyboard not closing when closing dropdown on iOS 10 #4680

Closed
wants to merge 1 commit into from

Conversation

willmacdonald
Copy link

@willmacdonald willmacdonald commented Nov 10, 2016

This pull request includes a

  • Bug fix
  • New feature
  • Translation

The following changes were made

  • Add self.$search.blur();

We wanted to have a select2 dropdown with search field that had auto focus, so you could type directly.

The problem we experienced was that the keyboard would not hide after choosing from the filtered list.

We only had this problem on iOS 10 devices. This fixes the problem.

Credit: @EvertLagerberg

…S 10.

We wanted to have a select2 dropdown with search field that had auto focus, so you could type directly.

The problem we experienced was that the keyboard would not hide after choosing from the filtered list.

We only had this problem on iOS 10 devices. This fixes the problem.
@kevin-brown kevin-brown changed the title This one line patch fixes a problem we experienced with Select2 on iOS10 Fix keyboard not closing when closing dropdown on iOS 10 Nov 13, 2016
@alexweissman
Copy link
Contributor

PRs with changes in dist/ cannot be merged. Please remove them to have this PR considered.

@alexweissman
Copy link
Contributor

Merged into develop for 4.0.6 release.

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

Successfully merging this pull request may close these issues.

None yet

2 participants