Skip to content
Snippets Groups Projects
Verified Commit 04fad108 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3443559 by mherchel, ckrina, finnsky, lauriii: Regression: Shortcuts...

Issue #3443559 by mherchel, ckrina, finnsky, lauriii: Regression: Shortcuts menu flickers when the page is loaded

(cherry picked from commit c0beeeea)
parent 38bd6ea0
No related branches found
No related tags found
7 merge requests!122353526426-warning-for-missing,!11958Issue #3490507 by alexpott, smustgrave: Fix bogus mocking in...,!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...,!8325Update file Sort.php,!8095Expose document root on install
Pipeline #168164 canceled
Pipeline: drupal

#168167

    ......@@ -106,6 +106,15 @@ function navigation_theme($existing, $type, $theme, $path) {
    ],
    ];
    $items['big_pipe_interface_preview__navigation_shortcut_lazy_builder_lazyLinks__Shortcuts'] = [
    'variables' => [
    'callback' => NULL,
    'arguments' => NULL,
    'preview' => NULL,
    ],
    'base hook' => 'big_pipe_interface_preview',
    ];
    $items['block__navigation'] = [
    'render element' => 'elements',
    'base hook' => 'block',
    ......
    {#
    /**
    * @file
    * Placeholder content for the shortcuts menu. This is used to eliminate layout
    * shifts as BigPipe injects data.
    */
    #}
    {% include '@navigation/toolbar-button.html.twig' with {
    attributes: create_attribute(),
    extra_classes: 'invisible toolbar-button--icon--shortcuts toolbar-button--expand--side toolbar-button--collapsible toolbar-popover__control',
    icon: 'shortcuts',
    text: 'Shortcuts'|t,
    } only %}
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment