Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdowns always open if any parent has .open #3420

Closed
mattdwen opened this issue May 9, 2012 · 1 comment
Closed

Dropdowns always open if any parent has .open #3420

mattdwen opened this issue May 9, 2012 · 1 comment
Labels
Milestone

Comments

@mattdwen
Copy link

mattdwen commented May 9, 2012

With 2.0.3, the dropdowns.less at line 101 file specifies:

.open {
// IE7's z-index only goes to the nearest positioned ancestor, which would
// make the menu appear below buttons that appeared later on the page
*z-index: @zindexDropdown;

.dropdown-menu {
display: block;
}
}

Which makes any dropdown with a parent .open, open as default.

Changing 106 to:

> .dropdown-menu {

forces it so only direct child drop-downs are open.

@mdo
Copy link
Member

mdo commented May 14, 2012

Fixed in 2.0.4-wip.

@mdo mdo closed this as completed May 14, 2012
stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants