Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: Make dropdown respect boundaries of browser Foundation 5 #5986
See it in action here: http://www.tangerineindustries.com/download/Foundation_Dropdown/index.html
@soraphis You bring up an interesting point and something I struggled with not on a technical level, but a hypothetical level. By default how I'm displaying the drop down is the same as Foundation 5 raw, but should it be this way?
The docs say medium drop down, up to max-width:500px. So that means the drop down will respect the parent width up to a max of 500. But in your case, a medium drop down in a large-2 looks like a small.
You can override this in the CSS on line 5302 foundation.css in .f-dropdown.medium. Just add a min-width. Im debating if I should write this in automatically.
pushed a commit
this pull request
Oct 30, 2014
anyone else who still experiences the problem?