User tests: Successful: Unsuccessful:
Pull Request resolves #48027
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.
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.
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.
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.
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
| Status | New | ⇒ | Pending |
| Category | ⇒ | JavaScript Repository NPM Change |
I have tested this item ✅ successfully on 246fdfe
Both tests are working
I have tested this item ✅ successfully on 246fdfe
Both tests are working
I have tested this item ✅ successfully on 246fdfe
Tested with JBT
npm ciI have tested this item ✅ successfully on 246fdfe
Tested with JBT
npm ci| Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
| Labels |
Added:
RTC
NPM Resource Changed
bug
PR-5.4-dev
|
||
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.
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.
| 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 |
Thanks @hiteshm0 for this PR, @ThomasFinnern and @muhme for testing, and @dgrammatiko for review.
failing test needs to be rerun