RTC NPM Resource Changed Frontend Template bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
12 Jan 2026

Pull Request for Issue #46496 .

I could not reproduce the error mentioned in #44221, but could reproduce tht error on #46496.

Summary of Changes

Fix listener - hide dropdown when the clickevent is outside the menu

Testing Instructions

see issue #46496

Actual result BEFORE applying this Pull Request

The dropdown remains open when clicking outside the menu

Expected result AFTER applying this Pull Request

The dropdown closes when clicking outside the menu

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar chmst chmst - open - 12 Jan 2026
avatar chmst chmst - change - 12 Jan 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jan 2026
Category JavaScript Repository NPM Change
avatar exlemor exlemor - test_item - 18 Jan 2026 - Tested successfully
avatar exlemor
exlemor - comment - 18 Jan 2026

I have tested this item ✅ successfully on 5d98544

I have tested this successfully... Thanks @chmst - no more console error :D


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46669.

avatar ChristineWk
ChristineWk - comment - 18 Jan 2026

Had to use: "Update your site to "Joomla! 5.4.3-dev+pr.46669"


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46669.

avatar ChristineWk ChristineWk - test_item - 18 Jan 2026 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 18 Jan 2026

I have tested this item ✅ successfully on 5d98544


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46669.

avatar richard67 richard67 - change - 18 Jan 2026
Status Pending Ready to Commit
Labels Added: NPM Resource Changed bug Frontend Template PR-5.4-dev
avatar richard67
richard67 - comment - 18 Jan 2026

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46669.

avatar muhme muhme - change - 20 Jan 2026
Labels Added: RTC
avatar muhme
muhme - comment - 20 Jan 2026

✅ Final test before merge with JBT

  • Installed Blog Sample Data
  • Seen error Uncaught TypeError: mm.addEventListener is not a function in JS console before PR
  • Applied PR with Patch Tester and npm run build:js
  • Clicking outside menu now closes the menu and no JS error anymore
  • Dropdown menu items are usable, sub-sub-menu items are usable
  • Opened sub-sub-menu item and cklicking outside closes the menu w/o JS error
avatar muhme muhme - change - 20 Jan 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-01-20 11:01:22
Closed_By muhme
avatar muhme muhme - close - 20 Jan 2026
avatar muhme muhme - merge - 20 Jan 2026
avatar muhme
muhme - comment - 20 Jan 2026

Thank you @chmst for your contribution. Thank you @exlemor and @ChristineWk for testing.

Add a Comment

Login with GitHub to post a comment