Navigation collapsible menu

Created on 14 January 2025, 6 days ago

Hello

Following the update to 6.0.1 the navigation_collapsible menu does not open on mobile phone

🐛 Bug report
Status

Active

Version

6.0

Component

User interface

Created by

🇫🇷France chsdaiguil Coteaux-du-lyonnais

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

Comments & Activities

  • Issue created by @chsdaiguil
  • 🇫🇷France chsdaiguil Coteaux-du-lyonnais

    Firefox browser tool error:

    Uncaught ReferenceError: MLMenu is not defined

  • 🇫🇷France chsdaiguil Coteaux-du-lyonnais

    I installed a blank dxpr theme, the coolapsible main menu does not open on mobile phone.

    The error according to Firefox would come from this js file: /themes/contrib/dxpr_theme/js/minified/dxpr-theme-header.bundle.min.js

  • 🇫🇷France chsdaiguil Coteaux-du-lyonnais

    To solve the problem

    cp dxpr-theme-multilevel-mobile-nav.bundle.min.js dxpr-theme-multilevel-mobile-nav.min.js

  • 🇫🇷France chsdaiguil Coteaux-du-lyonnais
  • 🇨🇦Canada leducdubleuet Chicoutimi QC

    While I can confirm copying the file with the new name fixes the bug, it cannot be considered as "fixed" in my opinion since we'll have to manually copy the file on each future releases.

    This is a quick fix to make 6.0.1 usable as is for now but this needs to be fixed properly in the source code.

    Could a maintainer look into this please?

    Thank you very much!

  • 🇫🇷France stado

    Pardon my ignorance, but what exactly needs to be done under #4?

  • 🇨🇦Canada leducdubleuet Chicoutimi QC

    You go in the folder :

    [web]/themes/contrib/dxpr_theme/js/minified/

    You replace [web] with your site root folder.

    And you copy the file :

    cp dxpr-theme-multilevel-mobile-nav.bundle.min.js dxpr-theme-multilevel-mobile-nav.min.js

    Then the mobile menu is working!

    Q.E.D.

  • 🇫🇷France stado

    Thanks @leducdubleuet!
    It works perfectly!
    :)

  • 🇫🇷France chsdaiguil Coteaux-du-lyonnais

    This issue is fixed in version 6.0.2

  • 🇨🇦Canada leducdubleuet Chicoutimi QC

    Indeed, this is fixed in 6.0.2, thank you very much!

Production build 0.71.5 2024