RTC NPM Resource Changed bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar hiteshm0
hiteshm0
30 Jun 2026

Pull Request resolves #48027

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

This PR resolves two UI bugs related to the "Actions" toolbar dropdown menu on list views (like the Articles list) managed by the joomla-toolbar-button web component:

1.Trapped Dropdown Bug: Fixes an issue where deselecting the last checked item while the Actions dropdown is open causes the button to become disabled before the dropdown can close. This leaves the dropdown menu permanently trapped and unresponsive on the screen.

2.Premature Closing Bug: Fixes a usability issue where deselecting a single item (when multiple are selected) causes Bootstrap to forcefully close the dropdown menu, interrupting bulk action workflows.

Testing Instructions

1.Navigate to Content -> Articles in the backend.

(For the First bug - Case 1):
2.Check the box next to one single article.
3.Click the "Actions" button in the toolbar so the dropdown menu opens.
4.While the dropdown menu is visibly open, click the article's checkbox again to uncheck it.

(For the second bug - Case 2):
2.Check the boxes for four articles.
3.Click the "Actions" button so the dropdown menu opens.
4.While the dropdown menu is visibly open, click to uncheck just one of the four articles.

Actual result BEFORE applying this Pull Request

Case 1: The "Actions" button becomes faded/disabled, but the dropdown menu remains stuck open on the screen and becomes completely unresponsive.

Case 2: The dropdown menu immediately closes itself, forcing the user to reopen it to complete their bulk action on the remaining 3 articles.

Expected result AFTER applying this Pull Request

Case 1: The dropdown menu closes itself before the "Actions" button becomes disabled. No trapped menus.

Case 2: The dropdown menu remains open, allowing the user to uncheck items and continue their bulk action without the menu disappearing.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar hiteshm0 hiteshm0 - open - 30 Jun 2026
avatar hiteshm0 hiteshm0 - change - 30 Jun 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jun 2026
Category ⇒ JavaScript Repository NPM Change
avatar hiteshm0 hiteshm0 - change - 30 Jun 2026
The description was changed
avatar hiteshm0 hiteshm0 - edited - 30 Jun 2026
avatar hiteshm0
hiteshm0 - comment - 30 Jun 2026

failing test needs to be rerun

avatar ThomasFinnern ThomasFinnern - test_item - 14 Aug 2026 - Tested successfully
avatar ThomasFinnern
ThomasFinnern - comment - 14 Aug 2026

I have tested this item ✅ successfully on 246fdfe

Both tests are working


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

avatar ThomasFinnern
ThomasFinnern - comment - 14 Aug 2026

I have tested this item ✅ successfully on 246fdfe

Both tests are working


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

avatar muhme muhme - test_item - 14 Aug 2026 - Tested successfully
avatar muhme
muhme - comment - 14 Aug 2026

I have tested this item ✅ successfully on 246fdfe

Tested with JBT

  • Both problems seen before the PR
  • Applied PR with Patch Tester and npm ci
  • Deselect a single selected article closes the action menu
  • Deselect one of the two selected articles, the action menu remains visible
  • No JS errors in console
    This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48036.
avatar muhme
muhme - comment - 14 Aug 2026

I have tested this item ✅ successfully on 246fdfe

Tested with JBT

  • Both problems seen before the PR
  • Applied PR with Patch Tester and npm ci
  • Deselect a single selected article closes the action menu
  • Deselect one of the two selected articles, the action menu remains visible
  • No JS errors in console
    This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48036.
avatar muhme muhme - change - 14 Aug 2026
Status Pending ⇒ Ready to Commit
avatar muhme
muhme - comment - 14 Aug 2026

RTC


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

avatar muhme
muhme - comment - 14 Aug 2026

RTC


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

avatar richard67 richard67 - change - 23 Aug 2026
Labels Added: RTC NPM Resource Changed bug PR-5.4-dev
avatar richard67 richard67 - test_item - 23 Aug 2026 - Tested successfully
avatar richard67
richard67 - comment - 23 Aug 2026

I have tested this item ✅ successfully on 388657b

Final test before merging: Works as described. Tested both cases. Verified also that no JS errors in browser console.


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

avatar richard67
richard67 - comment - 23 Aug 2026

I have tested this item ✅ successfully on 388657b

Final test before merging: Works as described. Tested both cases. Verified also that no JS errors in browser console.


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

avatar richard67 richard67 - close - 23 Aug 2026
avatar richard67 richard67 - merge - 23 Aug 2026
avatar richard67 richard67 - change - 23 Aug 2026
Status Ready to Commit ⇒ Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-08-23 16:59:27
Closed_By ⇒ richard67
avatar richard67
richard67 - comment - 23 Aug 2026

Thanks @hiteshm0 for this PR, @ThomasFinnern and @muhme for testing, and @dgrammatiko for review.

Add a Comment

Login with GitHub to post a comment