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 selection search resizeSearch on close #5766

Merged
merged 1 commit into from
Apr 25, 2020

Conversation

DenisGriffin
Copy link
Contributor

This pull request includes a

  • Bug fix
  • New feature
  • Translation

The following changes were made

  • Add call for resizeSearch after clearing search element (selection search)

Reproduction

  1. type text => width increases
  2. without selecting any choice press 'Esc'
  3. input value is empty but width of input element isn't updated

@kevin-brown kevin-brown added this to the 4.1.0 milestone Apr 19, 2020
@kevin-brown kevin-brown merged commit f30702d into select2:develop Apr 25, 2020
@DenisGriffin DenisGriffin deleted the fixSearchUnfocus branch April 25, 2020 19:52
anttikuuskoski pushed a commit to anttikuuskoski/select2 that referenced this pull request Mar 29, 2022
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.

3 participants