ewall / meteor-foundation

Foundation by ZURB — an advanced responsive web framework
MIT License
49 stars 6 forks source link

Nav-menus don't close #10

Open nkoren opened 10 years ago

nkoren commented 10 years ago

This may actually be a bug with Foundation itself rather than your package, but in the previous version, top bar nav-menus would close when their link is clicked on. Now, they stay open, which is rather awkward.

ewall commented 10 years ago

Hmm... I'm not able to replicate this problem. However, I just updated the Foundation version to 5.4.7 today, perhaps that will help in your case?

ewall commented 9 years ago

@nkoren -- I know I'm digging up the past now, but I'm curious if you were able to solve this? I think it might be time to close out this issue since it doesn't seem to be affecting others nor related to this package specifically... Thanks!

hashwin commented 9 years ago

@ewall I am experiencing a similar issue with dropdowns.

I made a clean meteor app to test this out. When I added this piece of code from http://foundation.zurb.com/docs/components/dropdown_buttons.html#

<button href="#" data-dropdown="drop1" aria-controls="drop1" aria-expanded="false" class="button dropdown">Dropdown Button</button><br>
<ul id="drop1" data-dropdown-content class="f-dropdown" aria-hidden="true">
  <li><a href="#">This is a link</a></li>
  <li><a href="#">This is another</a></li>
  <li><a href="#">Yet another</a></li>
</ul>

Clicking on any of those dropdown options did not close the dropdown.

hashwin commented 9 years ago

Turns out it was because an old version of Foundation was being loaded from the method you describe in your Readme (mrt add foundation)

Adding it using the meteor add ewall:foundation works!