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: Unregister event listener for simpleSelect 🐛 #88

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

mrchief
Copy link
Collaborator

@mrchief mrchief commented Apr 11, 2018

When using simpleSelect, and having multiple instances of the component on the same page, opening
dropdown content after selecting something in another dropdwon causes the previous dropdown to open
as well. This happens since handleOutsideClick is still listening for changes on the previous
instance.

When using simpleSelect, and having multiple instances of the component on the same page, opening
dropdown content after selecting something in another dropdwon causes the previous dropdown to open
as well. This happens since  andleOutsideClick is still listening for changes on the previous
instance.
@coveralls
Copy link

coveralls commented Apr 11, 2018

Coverage Status

Coverage remained the same at 98.551% when pulling 5bce50e on multi_instances_dropdown_fix into 334f8f9 on master.

@mrchief mrchief merged commit a335afd into master Apr 11, 2018
@mrchief mrchief deleted the multi_instances_dropdown_fix branch April 11, 2018 20:17
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

Successfully merging this pull request may close these issues.

2 participants