title: Bootstrap NavWalker dropdown displaying in desktop but not mobile
body: <p>I am using bootstrap navwalker to build out my navigation in Wordpress. I have got it all working except for the dropdown in mobile. For some reason the dropdown works perfectly fine in desktop view, but once in mobile nothing happens.</p>
  <p>I have added the code from the header.php file below.</p>
  <pre><code>&lt;nav class=&quot;navbar navbar-expand-lg navbar-light bg-light&quot;&gt;
    &lt;div class=&quot;container&quot;&gt;
      &lt;a href=&quot;&lt;?php echo get_option(&quot;siteurl&quot;); ?&gt;&quot;&gt;
        &lt;img src=&quot;/wp-content/themes/Gaggia/assets/src/library/img/gaggia-logo.svg&quot; class=&quot;navbar-brand&quot; href=&quot;#&quot;&gt;
      &lt;/a&gt;
      &lt;button class=&quot;navbar-toggler&quot; type=&quot;button&quot; data-bs-toggle=&quot;collapse&quot; data-bs-target=&quot;#navbarScroll&quot;
        aria-controls=&quot;navbarScroll&quot; aria-expanded=&quot;false&quot; aria-label=&quot;Toggle navigation&quot;&gt;
        &lt;span class=&quot;navbar-toggler-icon&quot;&gt;&lt;/span&gt;
      &lt;/button&gt;
      &lt;div class=&quot;collapse navbar-collapse&quot; id=&quot;navbarScroll&quot;&gt;
        &lt;ul class=&quot;navbar-nav ms-auto my-2 my-lg-0 navbar-nav-scroll&quot; style=&quot;--bs-scroll-height: 100px;&quot;&gt;
          &lt;?php
          wp_nav_menu( array(
            'theme_location'  =&gt; 'primary',
            'depth'           =&gt; 2, // 1 = no dropdowns, 2 = with dropdowns.
            'container'       =&gt; 'div',
            'container_class' =&gt; 'nav',
            'container_id'    =&gt; 'navbar-collapse collapse',
            'menu_class'      =&gt; 'navbar-nav mr-auto',
            'fallback_cb'     =&gt; 'WP_Bootstrap_Navwalker::fallback',
            'walker'          =&gt; new WP_Bootstrap_Navwalker(),
        ) );
        
          ?&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/nav&gt;
  </code></pre>
  <p>Does anyone have any idea why this might be happening. I updated the actual walker file to match data-bs-toggle instead of just data-toggle. This fixed the issue for desktop.</p>
  <p>Any help would be appreciated.</p>
  <p>Thanks,</p>