Menu icon Foundation
Off-canvas menu not working after clinking link

Hi Folks,

I'm using an off-canvas, sidebar menu. I have it setup with a tab-bar menu icon on the left side. When I start with a page refresh, the off-canvas slide out/in works fine. After I follow one of the links on the sidebar to a different page, the sidebar closes and then doesn't slide in/out when I click the menu icon again.

Any suggestions would be helpful. Thanks!

Hi Folks,

I'm using an off-canvas, sidebar menu. I have it setup with a tab-bar menu icon on the left side. When I start with a page refresh, the off-canvas slide out/in works fine. After I follow one of the links on the sidebar to a different page, the sidebar closes and then doesn't slide in/out when I click the menu icon again.

Any suggestions would be helpful. Thanks!

This post has been closed. No new replies can be added.

Sonny Gonzalez almost 6 years ago

Yes, I do include the JS in all the pages. I think I got it working. I'm developing in Rails, and I changed the order of my JS includes. These seems to have fixed the problem. Thanks for your help!

Alex Plaza almost 6 years ago

Did you include all the neccesary JS on this other page you just jump to from the index(first) page?