Accordion initial attribute doesn't seem to work properly


For some reason when i use the attribute fs-accordion-initial=“1” the layers of first item does get the combo class is-active-accordion. But on first view this doesn’t do anything. when i click again the combo class is removed. after a second click the combo class is added again and only then works as aspected.

Current behavior:

  • open menu: first item closed
  • 1st click first item: first item closed but removes comboclass
  • 2nd click: first item opens and comboclass is added

Desired behavior:

  • open menu: first item open
  • click on first item or any other item: first item closed


Fixed it by adding some styles to the embed:{max-height: none !important;}

1 Like

Great solution @Leon1!