Menu icon Foundation
Mobile Navigation and Back Button

Using Foundation 4 and the standard top-bar navigation. I'm testing on iPhone 4S with iOS 7

In the mobile view, we have the menu link that opens the navigation. When you open the menu and click a link, you go to that page. If you then click the browser back button, you go back to the previous page, but he menu is still open.

Is there a way to stop this and have the user go back to the previous page without the menu open?

Thanks

navigationtop-bar

Using Foundation 4 and the standard top-bar navigation. I'm testing on iPhone 4S with iOS 7

In the mobile view, we have the menu link that opens the navigation. When you open the menu and click a link, you go to that page. If you then click the browser back button, you go back to the previous page, but he menu is still open.

Is there a way to stop this and have the user go back to the previous page without the menu open?

Thanks

Rafi Benkual almost 4 years ago

Hi,

Are you using topbar menu-icon or off-canvas?

We were not able to replicate this. If it is off-canvas, do you have this in your code?

  <!-- close the off-canvas menu -->
  <a class="exit-off-canvas"></a>