Monaca Onsen UI Discord Chat Github Repo

<ons-list> expandable not working !!

  • hey guys…

    I found out that this code:
    <ons-list-item expandable>
    Tap to expand
    <div class=“expandable-content”>Expandable content</div>

    (copied from onsenui website) is not working. Could you guys help me please?

  • administrators

    That code looks correct. Make sure that code is inside an ons-list element.

    What version of Onsen UI are you using? Expandable list items were introduced in 2.10.0.

    You can also test the code in . If it works in the playground then it is a problem with your environment.

    If it is not working in the playground, then click Export to Codepen and link it here.