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

SideNav won't close if the wrong half of a navbar-fixed is clicked v0.97.5 #2645

Closed
dharders opened this issue Jan 13, 2016 · 2 comments
Closed

Comments

@dharders
Copy link

Great framework. Irritating issue:

In short, I have a Fixed Navbar with a SideNav inside (as specified in latest docs), see Plunkr here: https://plnkr.co/edit/PkEO7aVQvObHUbycVZIO?p=preview

When the sideNav is open, if I click on the wrong half of the navbar/header, the sideNav will NOT close. Clicking anywhere else will close the sideNav (including clicking the other half of the navbar/header). Try the demo above yourself!

If I remove the class "navbar-fixed" from the parent div, then all functions correctly...but I'm left without a fixed navbar....

@dharders
Copy link
Author

There is an unofficial workaround here: http://codepen.io/anon/pen/XbZYPg

Essentially, they remove sideNav out of the nav element and modify the z-index. See issue #1664

It would be great to do this the official way if you could take a look. Otherwise, if you like the authors workaround of moving the sideNav/ul out of the nav element, maybe update the official docs?

@fega fega closed this as completed Apr 6, 2017
@fega
Copy link

fega commented Apr 6, 2017

It looks solved in the current version

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

No branches or pull requests

2 participants