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

Split Button in navbar shows behind menu when in small screen mode #10017

Closed
JimmyHowe opened this issue Aug 22, 2013 · 6 comments
Closed

Split Button in navbar shows behind menu when in small screen mode #10017

JimmyHowe opened this issue Aug 22, 2013 · 6 comments

Comments

@JimmyHowe
Copy link

I have a split button on a navbar menu. When the menu is collapsed, clicking on the split button's menu at the bottom of the menu, the sub menu will appear behind the navbar edges instead of overflowing over the navbar edges. And instead a scroll is visiable.

untitled

@Dennis14e
Copy link

Same here!

@fchiumeo
Copy link

jsbin or jsfiddle example please

@Dennis14e
Copy link

@fchiumeo
Copy link

i think btn-group inside the navbar is not responsive

replace btn-group by this

<ul class="nav navbar-nav navbar-right">
    <li class="dropdown">
        <a data-toggle="dropdown" class="dropdown-toggle" href="#" >
            <i class="glyphicon glyphicon-user" ></i>
            username
            <b class="caret"></b>
        </a>
        <ul class="dropdown-menu">
            <li><a href="#">link</a></li>
            <li class="divider"></li>
            <li><a href="#">link</a></li>
        </ul>
    </li>
</ul>

@Dennis14e
Copy link

there is also a solution to still use the buttons?

@mdo
Copy link
Member

mdo commented Dec 8, 2013

Currently there is no way to do this—it's a limitation of the responsive navbar and overflow. We'd have to remove the dropdown menu from the normal document flow and position it via JS. That's not likely to happen anytime soon, so punting on this. Will revisit for v4 though.

@mdo mdo closed this as completed Dec 8, 2013
@mdo mdo mentioned this issue Aug 19, 2015
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