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

Add a Comment

Login with GitHub to post a comment