You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
Assign menu to both "Display locations": Right Top Bar and Mobile
Change menu from Topbar to Offcanvas under Customize -> Mobile Menu Settings -> Mobile navigation layout
View site in responsive mode (Phone, Chrome or Firefox) and click the hamburger menu once to open, then close the menu, then open it again
What did you expect to happen?
I expect to see the menu on the second click of the hamburger menu, but it's disappearing every second click
What happened instead?
The menu disappears on the second menu opening
For some reason when I click the hamburger menu, some script is updating nav.off-canvas from style="display: block;" to style="display: none;", but only on the first click, not the close click.
Please List the Following:
OS & version: Windows 10
Node version (node -v) [Node v4+ is required] : 4.1.1
Foundation version (bower list) : 6.3.0
Include Test Case (if applicable):
Give us a link to a CodePen or JSFiddle that recreates the issue.
I have experienced the same issue but on OSX Yosemite.
I inserted the following to foundation.js as a temporary fix at line 539:
key: 'open', value: function open(event, trigger) { // Fix for off canvas display none problem this.$element.show();
This ensures that the style="display: none;" is removed.
Fixed, this had to do with a conflict with the Responsive Navigation's Responsive Toggle feature. Solution is to have a unique ID for both the top bar and off-canvas menus.
How can this bug be reproduced?
What did you expect to happen?
I expect to see the menu on the second click of the hamburger menu, but it's disappearing every second click
What happened instead?
The menu disappears on the second menu opening
For some reason when I click the hamburger menu, some script is updating
nav.off-canvas
fromstyle="display: block;"
tostyle="display: none;"
, but only on the first click, not the close click.Please List the Following:
Include Test Case (if applicable):
Give us a link to a CodePen or JSFiddle that recreates the issue.
The text was updated successfully, but these errors were encountered: