No Code Attached Yet Information Required
avatar pablop76
pablop76
26 Nov 2025

Description:
Detailed description of the issue:

  • What I did: Opened a dropdown menu in the frontend navigation.
  • When it occurs: Every time a dropdown is opened and the user clicks outside the menu area.
    The JavaScript console reports an error from menu-metismenu.min.js.

Steps to reproduce:

  1. Install Joomla and use the default Cassiopeia template.
  2. Open the frontend.
  3. Click a menu item that expands a dropdown.
  4. Click anywhere outside the menu.
  5. The dropdown remains open and the JavaScript console shows:
    menu-metismenu.min.js?04147a:7
    Uncaught TypeError: e.addEventListener is not a function

Expected behaviour:
The dropdown menu should collapse when clicking outside the menu area.

Actual behaviour:
The dropdown remains open, and the console shows:
Uncaught TypeError: e.addEventListener is not a function

Environment:

  • Joomla version: 5.4 1, 6.0.1
  • PHP version: 8.3
  • Database: MySQL 8.4.3
  • Browser: Chrome 142.0.7444.176

Additional information / attachments:

Image Image
avatar pablop76 pablop76 - open - 26 Nov 2025
avatar pablop76 pablop76 - change - 26 Nov 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 26 Nov 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Nov 2025
avatar richard67
richard67 - comment - 26 Nov 2025

@pablop76 Why don't you provide relevant information like our issue template tells you to do?

As you should know there are always 2 Joomla versions in use, currently 5.4 and 6.0.

So you should provide always the Joomla version when reporting an issue.

You also don't tell where the issue happens, in backend (administrator) or frontend (site).

Both the administrator menu in backend and the site menu in frontend (when using Cassiopeia) use the metismenu.

So please provide that information.

Thanks in advance.

avatar richard67 richard67 - change - 26 Nov 2025
Labels Added: Information Required
avatar richard67 richard67 - labeled - 26 Nov 2025
avatar pablop76 pablop76 - change - 27 Nov 2025
The description was changed
avatar pablop76 pablop76 - edited - 27 Nov 2025

Add a Comment

Login with GitHub to post a comment