I cannot close the sub accordion, as in the accordion that is placed inside another accordion’s item content.
does the smart accordion element supports this?
Apparently in default mode, one accordion item will always be opened, and cannot be closed.
Just add another item to the sub accordion, or change the expand mode to multiple.
On a side note, why does this log appeared in the console when I interact with the sub accordion? Sub accordion is the accordion that is inside another accordion.
smart-accordion: Out of bound index/indexes in “expand” method.
smart-accordion: Out of bound index/indexes in “collapse” method.