Describe the bug
The example code for both HTML and Wordpress needs a site-menu-toggle class added to the main toggle element.
To Reproduce
Steps to reproduce the behavior:
Create a navigation output based on the markup provided.
Load the navigation in a browser window
Notice that on desktop, the navigation toggle still appears and its visibility isn't controlled by the script.
Expected behavior
When resizing from mobile to desktop, the navigation toggle should disappear, since it isn't required when the navigation becomes fully displayed.
Desktop (please complete the following information):
OS: iOS
Browser: Chrome
Version: 84.0.4147.105
Additional context
By adding the site-menu-toggle class to the main toggle "a" element, this issue should be resolved.
Describe the bug The example code for both HTML and Wordpress needs a site-menu-toggle class added to the main toggle element.
To Reproduce Steps to reproduce the behavior:
Expected behavior When resizing from mobile to desktop, the navigation toggle should disappear, since it isn't required when the navigation becomes fully displayed.
Desktop (please complete the following information):
Additional context By adding the site-menu-toggle class to the main toggle "a" element, this issue should be resolved.