Skip to content

Conversation

@blikblum
Copy link
Contributor

This pull request includes a

  • Bug fix
  • New feature
  • Translation

The following changes were made

  • Uses native focus method instead of jquery one in Search adapter
  • Add a test that fails without the fix

If this is related to an existing ticket, include a link to it as well.

Fixes #5485 #5516

@kevin-brown kevin-brown added this to the 4.0.8 milestone Jul 7, 2019
kevin-brown added a commit that referenced this pull request Jul 9, 2019
Removing this no longer breaks a unit test, and having it in here
results in the select box receiving focus unexpectedly. It's not
clear what problem this was solving, since it was manually applied
from a series of pull requests.

It claims to be fixing an issue that was specific to IE11, and I'm
willing to re-introduce that bug because there doesn't appear to be
a regression test for it, and it's breaking some critical use cases.

The goal should be to focus the search box if it would have normally
lost focus when the selection was updated.

Fixes #5485
Fixes #5516
Closes #5550
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

select2-4.0.5 doesn't seem to work well with jquery-3.4.0

2 participants