bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Nav Disappears in Chrome

Open shanemcd opened this issue 15 years ago • 10 comments

When at the top of the page, clicking "Grid" causes the nav to disappear until you begin to scroll. Seems to be isolated to Chrome. Fine in FF and Safari.

shanemcd avatar Aug 21 '11 03:08 shanemcd

Confirmed.

kennethreitz avatar Aug 21 '11 03:08 kennethreitz

I've seen this as a repeatable bug on Bootstrap and a few other sites. For whatever reason, clicking on a bookmarked link down the page in certain instances causes fixed elements to disappear for a moment. Still noodling on this one to find a solution.

mdo avatar Aug 21 '11 04:08 mdo

Ditto, when you mouse over it it appears again.

winterlightning avatar Aug 21 '11 05:08 winterlightning

Same here. Hover over reveals portions of the nav again.

campeaux avatar Aug 22 '11 01:08 campeaux

Confirmed on Chrome 10.0.3 and 13,0 (Windows) and on the latest version of Chromium for Linux

jmsanzg avatar Aug 23 '11 11:08 jmsanzg

Yes same here, also, I've had this exact bug with my code using "position:fixed" in the past.

Been trying to get around it, seems impossible. Did someone file a chrome bug report?

danielstocks avatar Aug 29 '11 14:08 danielstocks

Closing this since it's not an active issue with Bootstrap technically, but one with Chrome. Will actively be checking up on this though.

mdo avatar Sep 03 '11 06:09 mdo

This can be fixed in 2.3.2 via the following CSS:

.navbar .nav { -webkit-transform:translate3d(0px, 0px , 0px)  }

I'm not sure how to contribute this change to the 2.3.2 tag though.

sjs avatar Oct 11 '13 22:10 sjs

@sjs 2.x.x is unsupported and closed to development. You could fork it I suppose.

cvrebert avatar Oct 11 '13 22:10 cvrebert

Barney's solution fixed the issue for me:

http://stackoverflow.com/questions/15152470/chrome-rendering-issue-fixed-position-anchor-with-ul-in-body

Tolmark12 avatar Oct 29 '13 22:10 Tolmark12