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 |
failing test needs to be rerun