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

Drop down in nav bar misbehavior in mobile #7989

Closed
OscarHYCheung opened this issue May 25, 2013 · 2 comments
Closed

Drop down in nav bar misbehavior in mobile #7989

OscarHYCheung opened this issue May 25, 2013 · 2 comments

Comments

@OscarHYCheung
Copy link

The drop down items in navigation bar is not working in mobile device anymore after upgrading to v2.3.2.
The drop down list will be closed instead of going to corresponding hyperlink when clicking the children items on mobile.

<div class="navbar">
  <div class="navbar-inner">
    <div class="container">
      <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </a>
      <a class="brand" href="#">Title</a>
      <div class="nav-collapse collapse navbar-responsive-collapse">
        <ul class="nav">
          <li class="active"><a href="#">Home</a></li>
          <li><a href="#">Link</a></li>
          <li><a href="#">Link</a></li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><a href="http://www.google.com">Action</a></li>
              <li><a href="http://www.google.com">Another action</a></li>
              <li><a href="http://www.google.com">Something else here</a></li>
              <li class="divider"></li>
              <li class="nav-header">Nav header</li>
              <li><a href="http://www.google.com">Separated link</a></li>
              <li><a href="http://www.google.com">One more separated link</a></li>
            </ul>
          </li>
        </ul>
      </div><!-- /.nav-collapse -->
    </div>
  </div><!-- /navbar-inner -->
</div>

The upper code should generate a nav bar.
When you click on children of "Dropdown",
it will bring you to Google.
But it is not working on mobile.

@it-can
Copy link

it-can commented May 25, 2013

is this the same as #7968 ?

@OscarHYCheung
Copy link
Author

Ops...
It should be, sorry that I searched with navbar and dropdown only,

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