With experimental navigation on small desktop screens, Drupal.ginSidebar can be undefined
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3439988. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) Related to !405 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>With the experimental navigation enabled, on small desktop screens (<code>window.innerWidth &lt; breakpointLarge</code>) with the left sidebar being expanded, we get a javascript error in the browser console:</p> <pre>Drupal.ginSidebar is undefined in gin/js/navigation/sidebar.js line 113</pre><h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Check for <code>Drupal.ginSidebar</code> first.</p>
issue