Auto hide mobile menu when resize/maximize desktop window

the menu works fine, in mobile, and desktop too. however, when the the desktop size is reduced a mobile menu appears, and its fine too but when i maximize the window the mobile menu still continue to appear. So, how can I hide auto hide the mobile menu when I maximize the window?

Hello @talonuser,

I couldn’t recreate your issue on my local Talon install.

Can you please provide a link to your website?

Kind Regards, Roman.

Hi Roman,

This also happens on the demo site

For example, when you resize the window (make it smaller), the menu links can be accessed by the toggle button on the left. But when you maximize the window (i.e. make it bigger again), the left menu still continue to appear.

Thanks for replying, Roman.

Kind regards,
Talon User.

Hello @talonuser,

I have just checked Talon demo site as well and couldn’t notice the issue.

Mobile menu breakpoint is 1200px, maybe you are resizing below that width?

Kind Regards, Roman.

That’s right. It happens on my website as well. Here is a screenshot of the issue in your demo:


Well, it’s normal behavior. I don’t think that site visitors will ever see this. Anyway, I don’t think that there is an easy way to add such automatic closing either.

Kind Regards, Roman.