-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
back-end user menu closes accordions in view #44853
Comments
hi @richard67 thanks for following up, appreciate it. |
@Ruud68 Ah, sorry, seems I did read too fast. |
The relevant js cane be found at joomla-cms/build/media_source/templates/administrator/atum/js/template.es6.js Lines 290 to 307 in a89c179
|
Please test #44858 |
Closing as having a pull request. Please test #44858 . Thanks in advance. |
Steps to reproduce the issue
in a back-end view ./administrator/components/com_content/tmpl/articles/default.php create an accordion with the joomla core htmlhelpers, add the following lines before the line starting with <form action=
When you now go to the view articles, you see the closed accordion.
Click on the accordion to open it.
The accordion opens.
now click on the topbar menu 'User Menu'
The accordion now closes although it should stay open.
The issue here is that the template.js selects all elements with [data-bs-toggle="collapse"]
and the closes these.
This is not correct! it should only close dropdowns (used in the menus) and no other elements.
Expected result
accordion should stay open
Actual result
accordion (and if multiple set on the page, accordions) are closed
System information (as much as possible)
J5.2 (latest)
Additional comments
The text was updated successfully, but these errors were encountered: