Skip to content
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

Collapsible panels are not "exclusive" any more #6641

Open
knallcharge opened this issue Dec 12, 2024 · 3 comments
Open

Collapsible panels are not "exclusive" any more #6641

knallcharge opened this issue Dec 12, 2024 · 3 comments

Comments

@knallcharge
Copy link
Contributor

Hi,

I just updated my project to Symfony 7.2 now using the latest version of the EasyAdmin-Bundle (4.20.2) and discovered a strange behaviour:
On a page with several panels the click on a panel is not "exclusive" any more, so clicking one panel will also trigger the collapsed-state of all other panels on that page. In a former version of EasyAdmin (I'm using 4.12 on a different installation of the same project) clicking on a panel would only trigger that single panel.
This is especially annoying as I have some panels that are rendered as collapsed on pageload, so clicking one of them will "invert" all other panels which leads to a lot of elements moving on the page which is very distracting and makes it hard to find the position where you initially clicked.

I have searched for an option in panels that would hint a panel being exclusive (or detached or ungrouped) but couldn't find anything.
Also I have checked whether the "card"-option would be used by EasyAdmin which would render a bootstrap-accordion with the described behaviour.
Do I need to add/remove a certain class from my panels to get back to the exclusive behaviour or give them a certain flag/name/id to skip the automatic grouping?

To reproduce:
Create a page with several panels and click one of them.

@wizhippo
Copy link
Contributor

I have this same issue. Also interferes if you use tabs. If you collapse a panel on another tab, all the panels on all tabs are collapsed.

@wizhippo
Copy link
Contributor

wizhippo commented Dec 30, 2024

To add I believe this is the fix a66ae73#diff-94ad4e278be4c00858344132511c915f7a4e47e46f4ec2eeeda8635c530b823fR255

@knallcharge
Copy link
Contributor Author

This seems to be resolved in 4.20.5, can you confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants