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

select2tokenizer jumps to top selection #4

Closed
iangus opened this issue Dec 22, 2016 · 4 comments
Closed

select2tokenizer jumps to top selection #4

iangus opened this issue Dec 22, 2016 · 4 comments

Comments

@iangus
Copy link

iangus commented Dec 22, 2016

After making a selection in the dropdown the highlighted selection jumps back up to the first selected element.

@paronne
Copy link
Member

paronne commented Dec 28, 2016

This is a behavior of the underlying library Select2.
This issue has been already reported here select2/select2#4417

@iangus
Copy link
Author

iangus commented Dec 28, 2016

Removing the method call highlightFirstItem from container.on('select') line 1038 of the full js file or b.on("select") in the minified file fixes the issue. Is there any reason to keep this method call? I don't understand the purpose of highlighting the first selected element after a selection is made. Thoughts on this?

@jcompagner
Copy link
Contributor

thats a discussion for the issue paolo is pointing out in the comment above.

@costichiulan
Copy link

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

4 participants