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

Can't Close Select2 on select an option #5499

Closed
Mursivic opened this issue May 2, 2019 · 5 comments
Closed

Can't Close Select2 on select an option #5499

Mursivic opened this issue May 2, 2019 · 5 comments

Comments

@Mursivic
Copy link

Mursivic commented May 2, 2019

Hey there ,
I'm having a trouble in closing the select2 appended list

    after i choose an option , this issue exists only in the lat version of select2 , but the earlier versions don't ,

@maurofmferrao
Copy link

I'm having the same problem on version 4.0.6 (version 4.0.5 works). Somehow the dropdown search is adding data-select2-id to several DOM elements, outside the target select2 object.

The bug is being reported in stackoverflow: https://stackoverflow.com/questions/55949585/jquery-select2-not-closing-anywhere-also-not-on-their-own-website

And as this user states, it happens in the official doc page too: https://select2.org/getting-started/basic-usage.

@martinbroos
Copy link

This is fixed in 4.0.7-rc.0

@stevepiercy
Copy link

I reported it in the forum, too. Glad it's not just me.
https://forums.select2.org/t/demos-selecting-option-does-not-dismiss-list-of-options/730

@tfbrito
Copy link

tfbrito commented May 6, 2019

This problem is occurring in the version 4.0.6 that is marked as latest release. There should be another stable version with the fix otherwise people may update and have problems on there pages.

@kevin-brown
Copy link
Member

This is a duplicate of #5490 and fixed in Select2 4.0.7-rc.0.

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

6 participants