title: Bootstrap dropdown menu in small devices
body: <p>I have a dropdown list (with 15-20 items) on <code>navbar</code>. All the dropdown items are not visible on mobile phone.</p>
  
  <p>I have tried below inside <code>bootstrap.css</code>:</p>
  
  <pre><code>.navbar-collapse.in {
          overflow-y: visible;
          overflow-y: auto;          
      }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/18vvT.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/18vvT.jpg" alt="enter image description here"></a></p>
  
  <p>It's not working.(<strong>Bootstrap v3.0.3</strong>)</p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>        &lt;div class="navbar navbar-default" role="navigation"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="navbar-header"&gt;
                      &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&gt;
                          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                      &lt;/button&gt;                        
                  &lt;/div&gt;
                  &lt;div class="navbar-collapse collapse" id="templatemo-nav-bar"&gt;                        
                      &lt;div class="navbar-left" style="width: 98%; float: left;"&gt;                            
                          &lt;ul class="nav navbar-nav navbar-right" id="dropdownState"&gt;                                
                              &lt;li class="dropdown" style="margin-top: 4px; background-color: #5e8fed; color: #fff; border-top: 1px solid #02215b; border-bottom: 1px solid #02215b;"&gt;                                    
                                  &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;&lt;i class="fa fa-university" aria-hidden="true"&gt;&lt;/i&gt;&amp;nbsp;StateName &lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                                  &lt;ul class="dropdown-menu"&gt;
                                       //loop here
                                     &lt;li&gt;&lt;a data-id="@item.Value" class="lnkChangeState" href="javascript:;"&gt;&lt;i class="fa fa-check" aria-hidden="true"&gt;&lt;/i&gt;&amp;nbsp;@item.Text&lt;/a&gt;&lt;/li&gt; 
                                  &lt;/ul&gt;
                              &lt;/li&gt;
                          &lt;/ul&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;                 
              &lt;/div&gt;              
          &lt;/div&gt;          
      &lt;/div&gt;
  </code></pre>
  
  <p>How can I make it working on small devices as well?</p>
  
  <p>Thanks</p>