title: NGX-Bootstrap Navbar dropdown not working
body: <p>So Im trying to add a dropdown to my navigation bar. I modified the example of a dropdown on ngx-bootstrap to match a dropdown from bootstraps navbar examples but its still not working correctly. When i click the dropdown it not only shows the dropdown items but it also expands the entire navigation bar like below.
  <a href="https://i.stack.imgur.com/u61fa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u61fa.png" alt="Navbar expanded"></a></p>
  
  <p>Navigation-bar.html</p>
  
  <pre><code>&lt;nav class="navbar navbar-light bg-light fixed-top"&gt;
    &lt;a class="navbar-brand" href="#"&gt;Control Center&lt;/a&gt;
  
    &lt;ul class="navbar-nav ml-auto"&gt;
      &lt;li class="nav-item"&gt;
        &lt;a class="nav-link" href="/login" *ngIf="!isAuthenticated"&gt;Login&lt;/a&gt;
      &lt;/li&gt;
      &lt;li class="nav-item"&gt;
        &lt;a class="nav-link" href="/admin" *ngIf="isAuthenticated"&gt;Admin&lt;/a&gt;
      &lt;/li&gt;
      &lt;li class="nav-item" dropdown&gt;
          &lt;a id="button-basic" dropdownToggle type class="nav-link dropdown-toggle"
                  aria-controls="dropdown-basic"&gt;
            Button dropdown &lt;span class="caret"&gt;&lt;/span&gt;
      &lt;/a&gt;
          &lt;ul id="dropdown-basic" *dropdownMenu class="dropdown-menu"
              role="menu" aria-labelledby="button-basic"&gt;
            &lt;li role="menuitem"&gt;&lt;a class="dropdown-item" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
            &lt;li role="menuitem"&gt;&lt;a class="dropdown-item" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
            &lt;li role="menuitem"&gt;&lt;a class="dropdown-item" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
            &lt;li class="divider dropdown-divider"&gt;&lt;/li&gt;
            &lt;li role="menuitem"&gt;&lt;a class="dropdown-item" href="#"&gt;Separated link&lt;/a&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/li&gt;
  
  
      &lt;li class="nav-item"&gt;
        &lt;a class="nav-link" *ngIf="isAuthenticated" (click)="onLogout()"
          &gt;Logout&lt;/a
        &gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/nav&gt;
  </code></pre>
  
  <p>Softwares:</p>
  
  <ul>
  <li>Latest angular</li>
  <li>Bootstrap 4 </li>
  <li>Ngx-bootstrap</li>
  </ul>