Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Bootstrap dropdown not closed if class is assigned #9696
Steps to reproduce
What is expected?
Dropdown closes when a class is added to .dropdown element
What is actually happening?
Since the version 2.6.0 the dropdown gets "stuck" where the class "show" is removed from the .dropdown element, but not from the .dropdown-menu
This is with the version 2.6.8: https://jsfiddle.net/j3ca/yjzh12kg/6/
If you remove that version and use any <2.6.0 (e.g. https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.22/vue.js) it will work.