Problem/Motivation

Using Claro theme (the default theme for a 'clean' install of Drupal 10) the menu selector (drop-down menu) is hidden.

Steps to reproduce

With this module enabled, set Admin theme to Claro.

Proposed resolution

In the code of the of the menu_parent_form_ui/js/menu_parent_form_ui.js file, the (CSS) classes should be updated.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

CommentFileSizeAuthor
#3 menu_parent_form_ui.patch1.75 KBjrwest_webguy

Comments

jrwest_webguy created an issue. See original summary.

jrwest_webguy’s picture

I have modified the file, and the menu selector is working again; just need to figure out how to post the changes (patch) on here.

jrwest_webguy’s picture

StatusFileSize
new1.75 KB

Patch notes:
I am a novice at git stuff, and this patch file might not work. Worst-case scenario, manually edit the 3 effected files.

Changes:

  • menu_parent_form_ui.info.yml -- Changed the Core requirements item.
  • menu_parent_form_ui.libraries.yml -- removed the css pointer, now the empty css file shouldn't cause MIME-type errors on some web browsers (in theory).
  • js/menu_parent_form_ui.js -- Changed the CSS classes the javascript is looking for. The classes I chose should appear in more Drupal themes with javascript-driven menu systems.
jrwest_webguy’s picture

Status: Active » Needs review
jrwest_webguy’s picture

Do not use the patch from this issue. Use the patch file from the 'Duplicate Menus on Claro for Drupal v10.1.x' issue instead, that patch includes the fixes for this issue.

jrwest_webguy’s picture

davidmv97’s picture

Status: Needs review » Closed (duplicate)

As indicated by jrwest_webguy in comment #5, this issue has been identified as duplicate. Kindly visit https://www.drupal.org/project/2985855/issues/3402946 for further details.