dxpr_themeMenuOnResize

Created on 12 May 2025, 3 months ago

Problem/Motivation

Have been using DXPR on Drupal 10. Created a Drupal 11 site. I created a subtheme and installed DXPR. I created sub theme as usual using the script. After setting as default I and am having several issues.

1. The admin toolbar does not drop down
2. The menus are stacked on the right side of the header instead of showing horizontally across the top.
3. I tried enabling layout builder but none of the configutation winwods show when clicking configure so I uninstalled.

If I switch to another theme, for example bootstrap 5 or Tara, the admin toolbar and other features work.

I do see an error in the debug console on resizing the browser.

Uncaught TypeError: Cannot read properties of null (reading 'classList')
at dxpr_themeMenuOnResize (js_HuGA4ockGeMJvHa-xS-YHzEsgBXjYSP8oxpSDY45UhQ.js?scope=footer&delta=0&language=en&theme=dxpr_duravex&include=eJyFkGEOgyAMhS8E8msH2ElI0UaZCKStxt1-bEp0Jst-tX3fa15T6CYfraQUHJDZayOEqOAnaoa0IPkoGOXbZhmB2sFsRTnf2-wzmtool5KwEOSbOVr9YB1AkOXMO5ozhCbCogUcqzaVwFVmCBUdig4-jn8s-4nFRFgxtOIX_Gyrbs1kZcCp0i32JPchuSKzPMtCrwbPkuhpJqBRA2tC6NTlX9e5QW4h4_39tBdxfpPs:178:4162)
at js_HuGA4ockGeMJvHa-xS-YHzEsgBXjYSP8oxpSDY45UhQ.js?scope=footer&delta=0&language=en&theme=dxpr_duravex&include=eJyFkGEOgyAMhS8E8msH2ElI0UaZCKStxt1-bEp0Jst-tX3fa15T6CYfraQUHJDZayOEqOAnaoa0IPkoGOXbZhmB2sFsRTnf2-wzmtool5KwEOSbOVr9YB1AkOXMO5ozhCbCogUcqzaVwFVmCBUdig4-jn8s-4nFRFgxtOIX_Gyrbs1kZcCp0i32JPchuSKzPMtCrwbPkuhpJqBRA2tC6NTlX9e5QW4h4_39tBdxfpPs:178:11965
at js_HuGA4ockGeMJvHa-xS-YHzEsgBXjYSP8oxpSDY45UhQ.js?scope=footer&delta=0&language=en&theme=dxpr_duravex&include=eJyFkGEOgyAMhS8E8msH2ElI0UaZCKStxt1-bEp0Jst-tX3fa15T6CYfraQUHJDZayOEqOAnaoa0IPkoGOXbZhmB2sFsRTnf2-wzmtool5KwEOSbOVr9YB1AkOXMO5ozhCbCogUcqzaVwFVmCBUdig4-jn8s-4nFRFgxtOIX_Gyrbs1kZcCp0i32JPchuSKzPMtCrwbPkuhpJqBRA2tC6NTlX9e5QW4h4_39tBdxfpPs:178:6658

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

6.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @Abontu
  • I installed the base theme "DXPR Theme 6.0.4 (default theme)" and everything is fine.
    I tried THEMETITLE 6.0.4 which and it has the same issues as the subtheme I generated using the scripts.

Production build 0.71.5 2024