• Adam Barth's avatar
    Parent data not updated when reparenting using global keys · 35464f44
    Adam Barth authored
    When we reactivate a subtree that had a global key, we weren't updating the
    parent data because:
    
    1) The child wasn't in the tree when we updated the parent data element.
    2) The activated child didn't go through mount (just through update).
    
    This patch moves the parent data update work to when we attach the render
    object, which we do both during mount and when reactivating a child.
    
    Fixes #345
    35464f44
parent_data_test.dart 8.51 KB