Foundation JavaScript only fires on first event


I have foundation installed with the setup provided by foundation sites for sage (gulp bower). However, when my page loads the JavaScript only fires on the first event. So my carousel will only advance to the second image, and my search bar will appear, but I can’t get it to close. I don’t have any errors in my console, so I’m really stumped with this.

I know foundation is working as the carousel displays correctly and my mobile menu is hidden.

Thanks for any help.

It turns out I was missing a CSS package called motion-ui.