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

Popover has wrong z-index and gets hidden behind the nav bar #5043

Closed
houmie opened this issue Sep 8, 2012 · 10 comments
Closed

Popover has wrong z-index and gets hidden behind the nav bar #5043

houmie opened this issue Sep 8, 2012 · 10 comments
Labels

Comments

@houmie
Copy link

houmie commented Sep 8, 2012

<div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <div class="nav pull-right"> <div class="cb_inline_block"> <a class="btn btn-small cb_inline_block icon timezone_help" data-content="{% trans 'hahaha' %}" rel="popover" href="#" data-original-title="{% trans 'Time Zone' %}"><i class="icon-question-sign icon-large"></i></a>

http://i.imgur.com/0bNqZ.png

The popup button is on the navbar, but the message gets hidden underneath.

I checked it with Firebug and it seems navbar has a z-index of 1030, while the popover message has a index of 1010.

@mdo
Copy link
Member

mdo commented Oct 8, 2012

@fat I think this needs to be solved via JS give your recent changes to popover/tooltip positioning, no?

@demike
Copy link

demike commented Oct 8, 2012

That has been fixed in 2.1.2, commit 88b1e44, because the popover is derived from the tooltip

@houmie
Copy link
Author

houmie commented Oct 8, 2012

Hi @koenpunt

No problem here it is:

http://jsfiddle.net/houmie/XRSFr/3/

Hope that helps,

@koenpunt
Copy link
Contributor

koenpunt commented Oct 9, 2012

My bad, did run make haunt to see what it does and at first it showed me nothing, but now I see; it commented on all the issues.. But anyway, thanks for adding :)

@demike
Copy link

demike commented Oct 23, 2012

@houmie the z-index issue is solved via js in 2.1.2: http://jsfiddle.net/XRSFr/5/

@mdo
Copy link
Member

mdo commented Nov 5, 2012

Closing out.

@mdo mdo closed this as completed Nov 5, 2012
@houmie
Copy link
Author

houmie commented Nov 5, 2012

Thank you guys.

@LeleDev
Copy link

LeleDev commented Jun 25, 2014

This issue seems be back again with static navbars..

@cvrebert
Copy link
Collaborator

@LeleDev Please open a new issue with a JS Fiddle (or similar) that demonstrates the problem. Thanks. <3

@twbs twbs locked and limited conversation to collaborators Jun 25, 2014
@cvrebert
Copy link
Collaborator

@LeleDev Seems to be working okay AFAICT: http://jsfiddle.net/X5n5F/1/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants