Responsive-Off-Canvas-Menu icon indicating copy to clipboard operation
Responsive-Off-Canvas-Menu copied to clipboard

Clicking Navigation Links closes menu but does not navigate to page

Open kray0151 opened this issue 10 years ago • 1 comments

Hi there,

I'm adapting this for use on my site, and I'm running into a strange issue. When The nav is open and I click a link the menu closes, but the page does not reload to the new content. It is not a z-index issue, and may be due to a conflicting style, but I haven't found it yet. Has anyone else had this happen and what did you do to fix it? Kristin

kray0151 avatar Oct 09 '14 18:10 kray0151

Just in case anyone else runs into this:

I changed the ID for the div enclosing my navigation. I must have missed this line in the javascript:

if (nav_open && !hasParent(e.target, 'nav')) {

I changed 'nav' to my ID and it works like a charm.

kray0151 avatar Oct 09 '14 21:10 kray0151