Skip to content
Browse files

Fix deletion layout animations to work with custom view managers

Summary: D3352450 didn't handle the case where removeClippedSubviews is on and the indices within the parent view don't match the indices JS is working on

Differential Revision: D3398675

fbshipit-source-id: 0a1b9cf41b02f71f6585db92474e4699b944d273
  • Loading branch information
astreet authored and Facebook Github Bot 2 committed Jun 7, 2016
1 parent 4868948 commit 49a5fe493e830e5610eedfe5414b37c759b61491
@@ -346,7 +346,7 @@ public void manageChildren(

View viewToRemove = viewToManage.getChildAt(indexToRemove);
View viewToRemove = viewManager.getChildAt(viewToManage, indexToRemove);

if (mLayoutAnimator.shouldAnimateLayout(viewToRemove) &&
arrayContains(tagsToDelete, viewToRemove.getId())) {

0 comments on commit 49a5fe4

Please sign in to comment.
You can’t perform that action at this time.