Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #111360
    matdjon
    Participant

    Good day,

    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?

    example

    Thanks.

    #111361
    matdjon
    Participant

    Solved.

    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.

    #111368
    matdjon
    Participant

    Good day,

    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.

    #111373
    Markov
    Keymaster

    Hi matdjon,

    Could you tell us how to reproduce these console logs?

    Regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

    #111375
    matdjon
    Participant

    I’ve updated the example to reproduce the log.

    You need to expand/collapse the sub accordion item and the message will be output to console.

    #111380
    Markov
    Keymaster

    Hi matdjon,

    We reproduced this. Thanks for the feedback which you provided! A work item is created, and this will be resolved soon.

    Regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.