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

Auto collapse of navbar after click #68

Open
ShayMatasaro opened this issue May 20, 2015 · 2 comments
Open

Auto collapse of navbar after click #68

ShayMatasaro opened this issue May 20, 2015 · 2 comments

Comments

@ShayMatasaro
Copy link

Navbar works great but after clicking a nav item it doesnt auto collapse back .

Is it possible to enable auto collapse?

@sritchie
Copy link
Contributor

Huh, it definitely should. Are you setting an :on-change or :on-click handler? This might be similar to a problem @sorenmacbeth was running into.

@ShayMatasaro
Copy link
Author

nope, here is my def

[racehub/om-bootstrap "0.5.0"]
[prismatic/om-tools "0.3.11"]
[org.omcljs/om "0.8.8"]]

(nav/navbar
{:brand (domt/a {:href "#"} "test")}
(nav/nav
{:collapsible? true}
(nav/nav-item {:key 1 :href "#/login"} "Sign in")
(nav/nav-item {:key 2 :href "#/logout"} "Logout")))

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