title: Bootstrap/Bootswatch Dropdown Tab Does Not Display
body: <p>I am having an issue implementing a tab with a drop-down nav as demonstrated in the <a href="https://bootswatch.com/cerulean/#navs" rel="nofollow noreferrer">Bootswatch examples</a>.  I should note that this does not work on the demo page either for me, but the way it seems to be written implies that it should work.</p>
  
  <p>My end goal is that on one of my tabs I have a drop-down and populate the tab body by the selection made.  The other tabs work as expected, but the drop-down doesn't display the expected div contents.</p>
  
  <p>Below is basically the demo code from the Bootswatch page, with some of the fluff pulled out to simplify it.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html lang="en" class="h-100"&gt;
  
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"&gt;
      &lt;title&gt;Title&lt;/title&gt;
      &lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.4.1/cerulean/bootstrap.min.css"&gt;
      &lt;link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"&gt;
  &lt;/head&gt;
  
  &lt;body class="d-flex flex-column h-100"&gt;
  
      &lt;header&gt;
          &lt;nav class="navbar navbar-expand-lg navbar-dark bg-primary"&gt;
              &lt;a class="navbar-brand" href="/"&gt;Title&lt;/a&gt;
              &lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01"
                  aria-controls="navbarColor01" aria-expanded="false" 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="navbarColor01"&gt;
                  &lt;ul class="navbar-nav mr-auto"&gt;
                      &lt;li class="nav-item"&gt;
                          &lt;a class="nav-link" href="#"&gt;Home&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li class="nav-item"&gt;
                          &lt;a class="nav-link active" href="#"&gt;Settings &lt;span class="sr-only"&gt;(current)&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li class="nav-item"&gt;
                          &lt;a class="nav-link" href="#"&gt;Help&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li class="nav-item"&gt;
                          &lt;a class="nav-link" href="#"&gt;About&lt;/span&gt;&lt;/a&gt;
                      &lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/nav&gt;
      &lt;/header&gt;
  
      &lt;main role="main" class="flex-shrink-0"&gt;
          &lt;div class="container" id="settingsapp"&gt;
  
              &lt;div class="page-header" id="banner"&gt;
                  &lt;h1&gt;Settings&lt;/h1&gt;
              &lt;/div&gt;
              &lt;ul class="nav nav-tabs"&gt;
                  &lt;li class="nav-item"&gt;
                      &lt;a class="nav-link active" data-toggle="tab" href="#home"&gt;Home&lt;/a&gt;
                  &lt;/li&gt;
                  &lt;li class="nav-item"&gt;
                      &lt;a class="nav-link" data-toggle="tab" href="#profile"&gt;Profile&lt;/a&gt;
                  &lt;/li&gt;
                  &lt;li class="nav-item dropdown"&gt;
                      &lt;a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button"
                          aria-haspopup="true" aria-expanded="false"&gt;Dropdown&lt;/a&gt;
                      &lt;div class="dropdown-menu" style=""&gt;
                          &lt;a class="dropdown-item" data-toggle="tab" href="#dropdown1"&gt;Action&lt;/a&gt;
                          &lt;a class="dropdown-item" data-toggle="tab" href="#dropdown2"&gt;Another action&lt;/a&gt;
                      &lt;/div&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
              &lt;div id="myTabContent" class="tab-content"&gt;
                  &lt;div class="tab-pane fade show active" id="home"&gt;
                      &lt;p&gt;Home tab content.&lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="tab-pane fade" id="profile"&gt;
                      &lt;p&gt;Profile tab content.&lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="tab-pane fade" id="dropdown1"&gt;
                      &lt;p&gt;Dropdown 1 content.&lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="tab-pane fade" id="dropdown2"&gt;
                      &lt;p&gt;Dropdown 2 content.&lt;/p&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/main&gt;
  
      &lt;script src="https://code.jquery.com/jquery-3.4.1.min.js"&gt;&lt;/script&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"&gt;&lt;/script&gt;
      &lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My ability to work with Bootstrap and Bootswatch is limited to finding something which does what I need and then editing it to look as I want, so this is a little out of my depth.  I am learning, however, each time.</p>