If you destroy the item before the animation would complete, you would not see any animation, right? That's why - even the new ListItem - triggers the actions only after the snap animation is completed.
OTOH, the deletion animation should not be part of the ListItem, but whould be implemented with ListView's removeDisplaced transition, a big mistake what has been done with the current ListItems. And in fact, the ListItems should not bother ever whether the item was deleted from model or not. I'd suggest to switch to the new ListItem as soon as your application reaches Vivid. We might also port few existing ListItem components to use the new one, if possible with any API breaks. Unfortunately that doesn't necessarily seem doable... ** Changed in: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1313134 Title: listitem: itemRemoved should be triggered before the listItem hiding animation. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1313134/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
