title: Bootstrap Collapse is collapsing but immediately closing the Collapse
body: <p>When I click on the toggle button the collapse comes down but when ending the down animation the collapse goes up without any interaction.</p>
  
  <p>I tried everything of library references and its order positioning but even then I get the same result as before.</p>
  
  <p>This is my HTML-Code:</p>
  
  <pre><code>&lt;nav class="navbar navbar-expand-lg navbar-dark bg-dark sti-navbar-light mb-xl-5 justify-content-center" id="mainNav"&gt;
      &lt;div class="container align-content-center justify-content-center"&gt;
          &lt;a class="navbar-brand" href="./link.php"&gt;NAME&lt;/a&gt;
          &lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggle"
                  aria-controls="navbarToggle" aria-expanded="true" aria-label="Toggle navigation"&gt;
              &lt;span class="navbar-toggler-icon"&gt;&lt;/span&gt;
          &lt;/button&gt;
  
          &lt;div class="collapse navbar-collapse" id="navbarToggle"&gt;
              &lt;ul class="navbar-nav mr-auto mt-2 mt-lg-0"&gt;
                  &lt;li class="nav-item active"&gt;
                      &lt;a href="./link.php" class="nav-link"&gt;LINK&lt;/a&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/nav&gt;
  </code></pre>
  
  <p>My imports in at the end of the page(tried it also at the header):</p>
  
  <pre><code>
  &lt;script src="./js/jquery.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.7/js/tether.min.js"&gt;&lt;/script&gt;
  &lt;script src="./libs/bootstrap-4.3.1-dist/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="js/scripts.js"&gt;&lt;/script&gt;
  &lt;script src="./js/canvasjs.min.js"&gt;&lt;/script&gt;
  
  &lt;script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"&gt;&lt;/script&gt;
  
  </code></pre>
  
  <p>I also tried the links of the bootstrap documentation but none of them worked.</p>
  
  <pre><code>&lt;script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>So what could be a problem? - cause the order and the links normally should work</p>