Skip to content

remove callback called before item is removed #6

Description

@franck-serot

Hi Dragosu,
I built a tree with a menu to add/remove item.
For each change, I dump tree content with method serialize of the acitree API.
I noticed that if I remove an item than the remove callback is called before the item is really removed.
According to the acitree source code, we can see the following scheduling of methods calls :
// just remove the item
this._success(item, options);
this._removeItem(item);
Could you please confirm or infirm the problem ?
If it's confirmed than could you help me to solve it ?
Thank you in advance for your response.
Best regards,
Franck

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions