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

Issue with navbar + dropdown #10433

Closed
macagoraga opened this issue Sep 4, 2013 · 10 comments
Closed

Issue with navbar + dropdown #10433

macagoraga opened this issue Sep 4, 2013 · 10 comments

Comments

@macagoraga
Copy link

Hi,

I have an issue with navbar and dropdown.

As you can see on this screenshot, the dropdown is not visible when there is navbar:

untitled

This can be fixed changing z-index from 1000 to 1001 for dropdown-menu

Can you confirm this?

Thanks

@huwcbjones
Copy link

See #10027

Many Thanks
Huw Jones

On 4 Sep 2013, at 13:52, macagoraga [email protected] wrote:

Hi,

I have an issue with navbar and dropdown.

As you can see on this screenshot, the dropdown is not visible when there is navbar:

This can be fixed changing z-index from 1000 to 1001 for dropdown-menu

Can you confirm this?

Thanks


Reply to this email directly or view it on GitHub.

@cvrebert
Copy link
Collaborator

cvrebert commented Sep 4, 2013

I suppose it seems to make sense for non-fixed navbars to be "under" dropdowns and for fixed navbars to be "over" dropdowns.

@macagoraga
Copy link
Author

@cvrebert thanks for reply.

I think a dropdown is most important to be visible over fixed or non-fixed.

In my case I have a fixed navbar top, and a non-fixed as submenu.

@cvrebert
Copy link
Collaborator

cvrebert commented Sep 4, 2013

We don't really support multiple navbars; see #10229.

@macagoraga
Copy link
Author

@cvrebert I have make work 2 navbar on the same page

2-navbar

demo here: http://macagoraga.com/demos/bootstraphpfox3/index.php?do=/admin/

This issue is not the same as #10299

I have one dropdown-menu that is not on navbar, this are like this screenshot:

issue-drop

@cvrebert
Copy link
Collaborator

cvrebert commented Sep 4, 2013

@macagoraga Yeah, your case should be supported. Multiple fixed navbars is what we don't/won't support.

@mdo
Copy link
Member

mdo commented Sep 5, 2013

Yeah, we should tweak the z-index here for a few situations. I'll look into this.

@macagoraga
Copy link
Author

@mdo Thanks!

@macagoraga
Copy link
Author

@cvrebert I got your point.

@mdo
Copy link
Member

mdo commented Oct 21, 2013

Taking a crack at this in #11188. Could use some eyes on it just in case since I think we might be able to do things a bit simpler even.

@mdo mdo closed this as completed in e486bb4 Oct 21, 2013
mdo added a commit that referenced this issue Oct 21, 2013
stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
* Resets the default navbar z-index to auto at a certain breakpoint
* Adds fixed navbar z-index var to fixed bottom navbar (previously only on fixed top navbar)
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
* Resets the default navbar z-index to auto at a certain breakpoint
* Adds fixed navbar z-index var to fixed bottom navbar (previously only on fixed top navbar)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants