Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Off Canvas Close on Click #369

Closed
Luciaisacomputer opened this issue Jun 25, 2015 · 1 comment
Closed

Off Canvas Close on Click #369

Luciaisacomputer opened this issue Jun 25, 2015 · 1 comment

Comments

@Luciaisacomputer
Copy link
Contributor

I think I must be doing something wrong. On the mobile view of a site I am working on, I want to close the Off Canvas Menu after a link has been tapped on. It is a single page site, so it scrolls down to the content section from that link. I have tried adding the close_on_click : true code to init-foundations.js as well as the data-options attribute but the menu doesn't seem to close.

Am I missing something?

@Luciaisacomputer
Copy link
Contributor Author

Hey just kidding! Turns out my functionality to scroll to the section had a return false!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant