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

Drilldown menu not working? #635

Closed
dantahoua opened this issue Dec 16, 2015 · 1 comment
Closed

Drilldown menu not working? #635

dantahoua opened this issue Dec 16, 2015 · 1 comment

Comments

@dantahoua
Copy link
Contributor

Hello!
I need a drill down menu in place of the mobile menu. So I just changed "foundationpress_mobile_nav" function and add "data-drilldown"...
But a javascript error occur:
Cannot read property 'getBoundingClientRect' of undefined (foundation.drilldown.js:295)
Any idea? I tried a lot of stuff but nothing...
Could someone at least just try a Drilldown menu on his installation, just to know if it's in FP or it's me! :)

@dantahoua
Copy link
Contributor Author

Ok I found the problem, I put this menu in a "Reveal modal", so the javascript cannot calculate the size at loading and everything blocks! I think I have to report this on the foundation forum!

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