Make the menu dropdown as scrollable.

Created on 18 October 2017, over 6 years ago
Updated 2 October 2023, 9 months ago

It would be nice if the fixed positioning of the admin toolbar was configurable. In most cases, having the menu be fixed is fine, but when you have very long menus with many items, it's impossible to scroll to them since the menu is fixed.

โœจ Feature request
Status

Needs work

Version

3.0

Component

User interface

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States rael9

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Rinku Jacob 13 Kerala

    I have tested the patch with drupal version 9.5.3. Patch doesn't applied. getting some errors like this
    Checking patch css/admin.toolbar.css...
    error: while searching for:
    border-right: 1px solid #ddd;
    }

    .toolbar .toolbar-tray-horizontal ul ul li.menu-item:first-child {
    border-top: 1px solid #ddd;
    }

    .toolbar-tray-horizontal li.menu-item--expanded.hover-intent ul ul,

    error: patch failed: css/admin.toolbar.css:34
    error: css/admin.toolbar.css: patch does not apply
    Checking patch js/admin_toolbar.hoverintent.js...
    error: while searching for:
    // Other wise we get unwanted behaviour where menu items are expanded while already in hovering other ones.
    $(this).parent().find('li').removeClass('hover-intent');
    $(this).addClass('hover-intent');
    },
    out: function () {
    $(this).removeClass('hover-intent');
    },
    timeout: 250

    error: patch failed: js/admin_toolbar.hoverintent.js:6
    error: js/admin_toolbar.hoverintent.js: patch does not apply

  • ๐Ÿ‡ฆ๐Ÿ‡ทArgentina abelpzl

    #42 is applied correctly in 9.5.3 and in my opinion works as expected.

    Thanks for providing this solution.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia sonam.chaturvedi Pune

    Tried testing #42 with v3.3.0 on Drupal 10.1.x-dev.
    On applying patch, getting below:

    Skipped patch 'css/admin.toolbar.css'.
    Skipped patch 'js/admin_toolbar.hoverintent.js'.
  • Open in Jenkins โ†’ Open on Drupal.org โ†’
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 8
    last update about 1 year ago
    17 pass
  • ๐Ÿ‡บ๐Ÿ‡ฆUkraine vselivanov Kyiv, Ukraine

    Rerolled #40 for the v3.3.1 - 3.x-dev 50ff7eb6 commit. Tested with Drupal 9.5.8.

  • Status changed to Needs work about 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Nikhil_110

    Tried to apply patch #46 it is working fine for add content menu but not working properly for last content type in content type list for content type I have shared video.
    need to work on it.

  • ๐Ÿ‡ซ๐Ÿ‡ทFrance tostinni

    We've changed a little bit the patch so it can apply to Claro but also to Gin and works a little better with submenus as shown in #47 video.

    We haven't tested yet on RTL theme and also the vertical admin menu bar for Gin is not functional, so keeping status as Need work.

  • ๐Ÿ‡ฒ๐Ÿ‡ผMalawi chancenyasulu

    patch #46 works for me in drupal 9.4.10 Panopoly thank you.

  • Open in Jenkins โ†’ Open on Drupal.org โ†’
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 8
    last update 10 months ago
    17 pass
  • ๐Ÿ‡ฆ๐Ÿ‡ทArgentina abelpzl

    Patch #46 could not be applied in admin_toolbar 3.4.1 and drupal 9.5.10.
    Instead #48 was applied correctly and seems to work correctly.

  • ๐Ÿ‡จ๐Ÿ‡ฆCanada darkodev

    #48 works well for us on Drupal 10.1.3 and Admin Toolbar 3.4.1

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Indranil Roy kolkata

    Indranil Roy โ†’ made their first commit to this issueโ€™s fork.

  • I have just made a couple of theming changes based on #48 to improve the appearance. Using Claro theme and Drupal 9.5.11.

Production build 0.69.0 2024