Menu icon Foundation
The Top Bar, dropdowns, and touch devices

I've created a detailed Code Pen to explain my findings. There are a number of them, but the main question I'm chasing down is this:

Why does Foundation's Kitchen Sink example of the Top Bar not behave the same as my Code Pen — specifically, why does touching away from the Kitchen Sink example close the menu and my Code Pen example does not?

topbardropdowntouch5.5.25.4.5

I've created a detailed Code Pen to explain my findings. There are a number of them, but the main question I'm chasing down is this:

Why does Foundation's Kitchen Sink example of the Top Bar not behave the same as my Code Pen — specifically, why does touching away from the Kitchen Sink example close the menu and my Code Pen example does not?

Chris Canipe about 4 years ago

It's FastClick! It's in the Kitchen Sink source and if I add it to the Code Pen it works.