Drupal admin toolbar dropdown breaking after installed theme

Created on 14 August 2023, over 1 year ago
Updated 30 November 2023, about 1 year ago

Problem/Motivation

Drupal admin toolbar dropdown breaks after installing the theme.

Steps to reproduce

  1. Install the theme and set as default.
  2. admin toolbar module
  3. Hover on admin menu.

you will find the issue when you hover the menu.

Proposed resolution

It's should be looks link as default pages.
Example:- /admin/content

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India djsagar

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

Merge Requests

Comments & Activities

  • Issue created by @djsagar
  • 🇺🇸United States BEGRAFX Laconia, New Hampshire

    I agree. I find this same issue. And as soon as I change to another theme the issue goes away. Seems to be specific to this theme.

    Here's what I get with harmony_haven (see example 1)

    And here is what I get with any other theme. (see example 2)

  • 🇮🇳India shubham_jain

    I have encountered similar issue and created patch file for it. below is the patch file for it.

  • Status changed to Needs review over 1 year ago
  • 🇮🇳India djsagar

    updated status as @shubham_jain created patch for issue.

  • Status changed to Needs work over 1 year ago
  • 🇮🇳India djsagar

    @shubham_jain Patch failed to applied please review.

  • Merge request !4Fix admin toolbar issue → (Open) created by djsagar
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India djsagar

    I created MR to resolved above issue.

    kindly review and merge.

  • 🇺🇸United States BEGRAFX Laconia, New Hampshire

    Taking this as a "Learning Opportunity"...

    If I may (as a somewhat "intermediate" Drupal Developer, with a lot still to learn) ask what may be a dumb question, as these forums in Drupal.ORG seem to use a somewhat abbreviated date format on posts, (i.e. "about 2 hours ago..." or "2 months ago" "5 months ago" or "10 years ago"... as opposed to "Wednesday, March 15, 2017, @ 9:48 am UTC" or the like), I've looked through other issues and seen conversations similar to this, where a patch is created, Merge Request is issued, but with only loose times on the messages (especially as you get beyond 24 hours), How can I tell whether or not the patch(es) have already been merged into the current version of the theme/module, or if I would still need to apply them?

    Thank you!

  • 🇮🇳India mukesh-kumar3 Dharmshala

    Hi djsagar I have follow the below mentioned steps not able to reproduce issue on drupal 10.0.0
    1.Install the theme and set as default.
    2.Install admin module.
    3.Hover on admin menu.
    Menu is working nicely there is no breakdown issue for menu. Attaching Screenshot below please check.

  • 🇮🇳India shubham_jain

    Please try the below patch

  • 🇮🇳India sarwan_verma

    Hi @shubham_jain, I applied your patch in the comment #10 and it solved the issue. Below is the screenshot, please verify.

  • Status changed to RTBC over 1 year ago
  • 🇮🇳India Bhupendra_Raykhere indore mp

    Hi @sarwan,
    I have tested patch#10,
    it's working properly. see screenshot for reference.

Production build 0.71.5 2024