Simple Accordion Elements can only expand but not collapse
Permalink Browser Info Environment
Dear Xanweb Support team,
I have a strange behavior with the "Simple Accordion" block.
When a user would come to a page of my website, he would be able to expand an accordion element but not close it.
The behavior happens with your Block Type "Simple Accordion" and the standard "Accordion."
I just updated to your latest version 2.5.6 (coming from 2.5.4), but the behavior was still the same.
I see that it is working on your demo page (https://replica-pro-v9.xanium.io/index.php/blocks/custom-blocks/simple-accordion) as it should.
I searched a bit through the ConcreteCMS reported issues on Github. This one looks related:https://github.com/concretecms/concretecms/issues/10741...
What do you think about the issue?
Kind regards,
Christian
I have a strange behavior with the "Simple Accordion" block.
When a user would come to a page of my website, he would be able to expand an accordion element but not close it.
The behavior happens with your Block Type "Simple Accordion" and the standard "Accordion."
I just updated to your latest version 2.5.6 (coming from 2.5.4), but the behavior was still the same.
I see that it is working on your demo page (https://replica-pro-v9.xanium.io/index.php/blocks/custom-blocks/simple-accordion) as it should.
I searched a bit through the ConcreteCMS reported issues on Github. This one looks related:https://github.com/concretecms/concretecms/issues/10741...
What do you think about the issue?
Kind regards,
Christian
Type: | Ticket |
---|---|
Status: | Resolved |
Hi Hamed,
Sure - I created a test page - at the top based on "Accordion," followed by "Simple Accordion." Content is in twice blocks the same.
URL
You can find additional pages with accordion blocks under "MENU-ITEM" in the menu. They are currently based on "Accordion." Once the issue is fixed, I would rebuild them based on "Simple Accordion."
Let me know if you need further information. I appreciate your help!
Kind regards,
Christian
Sure - I created a test page - at the top based on "Accordion," followed by "Simple Accordion." Content is in twice blocks the same.
URL
You can find additional pages with accordion blocks under "MENU-ITEM" in the menu. They are currently based on "Accordion." Once the issue is fixed, I would rebuild them based on "Simple Accordion."
Let me know if you need further information. I appreciate your help!
Kind regards,
Christian
Hi Christian,
Yeah i can confirm, this is a core bug. the "Accordion" block is loading the Bootstrap Collapse library which is already loaded by the core.
So loading the Collapse library twice will prevent the Accordion from working correctly.
We can prevent the issue by using the proposed solution herehttps://github.com/concretecms/concretecms/issues/10741#issuecomment...
We will fix that in the next release and let you know when it gets ready.
For now just remove the "Accordion" block from the page and just use "Simple Accordion".
Hope that helps,
Kind regards,
Hamed
Yeah i can confirm, this is a core bug. the "Accordion" block is loading the Bootstrap Collapse library which is already loaded by the core.
So loading the Collapse library twice will prevent the Accordion from working correctly.
We can prevent the issue by using the proposed solution herehttps://github.com/concretecms/concretecms/issues/10741#issuecomment...
We will fix that in the next release and let you know when it gets ready.
For now just remove the "Accordion" block from the page and just use "Simple Accordion".
Hope that helps,
Kind regards,
Hamed
Hi Hamed,
Many thanks for your investigation and proposed approach.
I have not tried the "Simple Accordion" alone on one page, as I have not thought about this. So this is an excellent hint for me to have a workaround in the meantime.
Kind regards,
Christian
Many thanks for your investigation and proposed approach.
I have not tried the "Simple Accordion" alone on one page, as I have not thought about this. So this is an excellent hint for me to have a workaround in the meantime.
Kind regards,
Christian
Dear Christian,
A new version (v2.5.7) which contains a fix for the accordion issue is now available.
Kind regards,
Xanweb Support Team
A new version (v2.5.7) which contains a fix for the accordion issue is now available.
Kind regards,
Xanweb Support Team
Dear Xanweb Support team,
many thanks! I just tried version 2.5.7 and it was working accordingly.
Many thanks & kind regards,
Christian
many thanks! I just tried version 2.5.7 and it was working accordingly.
Many thanks & kind regards,
Christian
Can you send us a link please so we can investigate the problem?
Thanks,
Hamed
Xanweb Support Team