[Dropdowns][Tabs] Changing tabs via a dropdown menu will leave dropdown menu open
Changing tabs within a dropdown menu will leave the dropdown open for eternity.
Tested on both latest Chrome version and latest Mozilla Firefox version.
This occurs because this styling is intended for dropdowns in menues where links reference another page.
Can confirm. Encountered with the problem today.
There has been no activity in this thread for 90 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one.
However, PRs for this issue will of course be accepted and welcome!
If there is no more activity in the next 90 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks!
I've recently ran into this issue.
My quick and dirty solution was removing the visible class from the dropdown and tabs as well as the styles attribute.
$(".js-dropdown").removeClass("visible")
$(".js-dropdown-tabs").removeClass("visible").removeAttr("style")