Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Menu Destroy method doesn't remove all classes #11467

Closed
geosigno opened this issue Aug 22, 2018 · 1 comment · Fixed by #11469
Closed

Menu Destroy method doesn't remove all classes #11467

geosigno opened this issue Aug 22, 2018 · 1 comment · Fixed by #11469

Comments

@geosigno
Copy link

It appears that when I destroy a dropdown menu and replace it by a accordion menu, the class .is-dropdown-submenu-item is still here.

So my custom style applied on this class is in conflict when the accordion is set.

I created a CodePen: https://codepen.io/anon/pen/MqYqYR?editors=1111

The class .is-dropdown-submenu-item is still has a red color applied. Even when I destroy the dropdown and add a accordion instead, the class (and the red color) are still here.

Just click on "witch from dropdown to accordion the menu" to switch between menu.

The same issue is appearing for all type of menu. (dropdown, accordion, drilldown)

@geosigno geosigno changed the title Menu Destory Method doesn't remove all classes Menu Destroy method doesn't remove all classes Aug 22, 2018
ncoden added a commit to ncoden/foundation-sites that referenced this issue Aug 22, 2018
@ncoden
Copy link
Contributor

ncoden commented Aug 22, 2018

Fixed in #11469

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants