Skip to content

BoxWidget collapse issue when box inside box #1681

@rmgc77

Description

@rmgc77

When I have a box inside a box, if I colapse the child box, the parent box colapses as well.
I found this issue only after I upgraded from 2.3 to 2.4

In adminlte.js, the BoxWidget toggle method is called twice after clicking the collapse button of the child box. Child box triggers the toogle method for itself and also for parent box.
If you click the parent box collapse button, toggle method is only called once, and only the parent box is toogled.

I can't figure out why. It seams a simple fix if you can find the source of the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions