Skip to content

Commit

Permalink
Merge pull request gavinkwoe#114 from YuZhangGHub/master
Browse files Browse the repository at this point in the history
Hide the item view before removing.
  • Loading branch information
gavinkwoe committed Jan 20, 2015
2 parents 953688d + 90ba1ee commit 203fc4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions framework/mvc/view/dom-element/Bee_UIScrollView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1575,12 +1575,13 @@ - (void)enqueueItem:(BeeUIScrollItem *)item
}
}

item.view.hidden = YES;

if ( shouldRemove )
{
[item.view removeFromSuperview];
}

item.view.hidden = YES;

item.view = nil;

PERF_LEAVE
Expand Down

0 comments on commit 203fc4b

Please sign in to comment.