From d93ac93941ae1b01165f0f97fc7f60f6679811d9 Mon Sep 17 00:00:00 2001 From: harry Date: Sun, 21 May 2017 22:21:49 +0530 Subject: [PATCH] Add Drilldown Accordion Menu example! --- docs/pages/responsive-navigation.md | 62 ++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/docs/pages/responsive-navigation.md b/docs/pages/responsive-navigation.md index 556be01d76..569f29650d 100644 --- a/docs/pages/responsive-navigation.md +++ b/docs/pages/responsive-navigation.md @@ -38,7 +38,7 @@ Some Menu Combination (but not limited) to are - [Drilldown Dropdown Menu](#drilldown-dropdown-menu) - [Accordion Dropdown Menu](#accordion-dropdown-menu) -- Accordion Drilldown Menu +- [Drilldown Accordion Menu](#drilldown-accordion-menu) #### Drilldown Dropdown Menu @@ -145,6 +145,66 @@ Same like drilldowns, an accordion menu works well on mobile, but on larger scre ``` +
+ +#### Drilldown Accordion Menu + +Just like foundation docs itself (see left sidenav), an accordion menu is great for a sidenav of a website on desktop, but for mobile, You might need Drilldown menu. + +
+ edit on codepen button +
+ +```html_example + +``` + +
+
+

+ Bug(v6.3.1): There is a bug within drilldown-accordion menu combo. If you set up a responsive menu with drilldown on small, then accordion for medium up, and resize to small and then back to medium the accordions will not work. The bug can be reproduced here
+ Good News: The Bug will be fixed with the upcoming foundation release. If you are specifically using v6.3.1, we recommend to use this below patch to fix this. +

+
+ +```javascript +// Patch for a Bug in v6.3.1 +$(window).on('changed.zf.mediaquery', function() { + $('.is-accordion-submenu.invisible').removeClass('invisible'); +}); +``` + --- ## Responsive Toggle