erobit / meteor-accounts-ui-bootstrap-dropdown

Meteor accounts-ui package updated to use twitter/bootstrap dropdown
37 stars 217 forks source link

Fix for dropdowns being displayed while menu is collapsed #3

Closed qscripter closed 11 years ago

qscripter commented 11 years ago

For the dropdowns to be displayed correctly while the nav bar is collapsed:

<div class="nav-collapse">

was changed to:

<div class="nav-collapse collapse">

The collapse logic expects the collapsible element to already have class "collapse".

The "collapse" class gets added when you expand the nav (if it is not already present), which is why the dropdown menu currently works only when you open, close, and then re-open the nav a second time.