-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Comments
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Aug 22, 2018
12 tasks
Fixed in #11469 |
ncoden
added a commit
that referenced
this issue
Aug 24, 2018
…11467 fix: clean submenu items classes in Nest #11467
4 tasks
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Aug 25, 2018
…classes-11467 for v6.5.0 fcd02bd fix: clear submenu item classe in Nest foundation#11467 Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
This was referenced Apr 22, 2020
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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)
The text was updated successfully, but these errors were encountered: