No Code Attached Yet bug
avatar krishnagandhicode
krishnagandhicode
26 Jun 2026

What happened?

When the "Actions" dropdown menu is open, deselecting the only checked item in the list causes the dropdown button to become disabled/faded, but it fails to actually close the menu. The dropdown remains trapped open on the screen and becomes completely unresponsive.

Steps to reproduce the issue:

Go to content -> Articles, select a single article by checking its checkbox.
Click the Actions button to open the dropdown menu.
While the dropdown menu is still open, click the article's checkbox again to uncheck it.

Version

5.4

Expected result

The dropdown menu should immediately close, and the Actions button should return to its disabled state.

Actual result

The dropdown menu remains visible and open on the screen. It becomes slightly faded (opacity drops) and is completely unresponsive to clicks.

Issue.mp4

System Information

Joomla 5.4-dev

Additional Comments

I did some further testing and found that this only happens when transitioning from 1 selected item to 0 selected items.

If I have 2 items selected, open the Actions dropdown, and then uncheck 1 of them (leaving 1 still checked), the dropdown closes perfectly as expected.

avatar krishnagandhicode krishnagandhicode - open - 26 Jun 2026
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jun 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Jun 2026
avatar krishnagandhicode krishnagandhicode - change - 26 Jun 2026
The description was changed
avatar krishnagandhicode krishnagandhicode - edited - 26 Jun 2026
avatar chmst
chmst - comment - 26 Jun 2026

confirmed

avatar hiteshm0
hiteshm0 - comment - 26 Jun 2026

A minimal solution could be to hide the dropdown ( if its visible/active) when a check box is deselected.
But the tradeoff is that if 4 articles are selected and the actions dropdown is opened and you deselect one article, the dropdown still closes ( but 3 articles are still selected)

avatar hiteshm0
hiteshm0 - comment - 26 Jun 2026

A minimal solution could be to hide the dropdown ( if its visible/active) when a check box is deselected.
But the tradeoff is that if 4 articles are selected and the actions dropdown is opened and you deselect one article, the dropdown still closes ( but 3 articles are still selected)

avatar hiteshm0
hiteshm0 - comment - 28 Jun 2026

If I have 2 items selected, open the Actions dropdown, and then uncheck 1 of them (leaving 1 still checked), the dropdown closes perfectly as expected.

Is this the ideal behavior?
Isn't it better if the dropdown stays open when there is still a checkbox selected? ( as the values of selected checkboxes is collected when the required action button is pressed, there is no possibility of the deselected articles being processed)

avatar krishnagandhicode
krishnagandhicode - comment - 28 Jun 2026

Yes, I think the ideal behavior is to keep the Actions dropdown open as long as at least one item remains selected. It should only close completely (and disable the button) when the user unchecks the final item so that zero items are selected.

avatar krishnagandhicode
krishnagandhicode - comment - 28 Jun 2026

Yes, I think the ideal behavior is to keep the Actions dropdown open as long as at least one item remains selected. It should only close completely (and disable the button) when the user unchecks the final item so that zero items are selected.

Thanks for looking into this, would be great if you could do a PR for fixing this (~ ̄▽ ̄)~

avatar hiteshm0
hiteshm0 - comment - 28 Jun 2026

@krishnagandhicode im working on a fix, i'll make the PR by tomorrow :)

Add a Comment

Login with GitHub to post a comment