Closed (fixed)
Project:
Field Group
Version:
8.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2018 at 05:08 UTC
Updated:
15 Mar 2019 at 04:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lblissett commentedYes, i am struggling with exact the same behavior. The last accordion item always stays open.
Comment #3
lblissett commented@surfkid:
What you can try is this:
Change here:
src/Element/AccordionItem.phpone line of code in the module for the accodion item from TRUE to FALSE like this (and make a cache rebuild afterwards).
At least it seems. that this hack works for me.
Comment #4
surfkid commentedThat worked! Thank you. This should be committed as well.
Comment #5
cbrody commentedHere's a patch I made which seems to resolve the issue.
Comment #6
cbrody commentedSorry that didn't work, try this one.
Comment #7
cbrody commentedComment #9
nils.destoop commentedThx for the patch. I have committed this to dev
Comment #10
johnpitcairn commentedComment #11
johnpitcairn commented(sorry that was unintentional)