Mobile Menu doesn't hide when you resize to desktop mode.
Closed this issue · 0 comments
jsug9 commented
To address this issue I advise you to use an event listener to the window resizing and that way return the menu to its original shape. Something like this:
window.addEventListener('resize', () => {
if (window.innerWidth >= 768) {
// Do something here
}
if (window.innerWidth <= 768) {
// Do something here
}
});