Reset the animation config at the end of each batch
Reviewed By: sahrens Differential Revision: D2931343 fb-gh-sync-id: 702b1df543fbdb9b244eb6cc2ce4d8557471004f shipit-source-id: 702b1df543fbdb9b244eb6cc2ce4d8557471004f
This commit is contained in:
parent
5ca9245067
commit
065106678f
|
@ -673,6 +673,10 @@ public class UIViewOperationQueue {
|
|||
operations.get(i).execute();
|
||||
}
|
||||
}
|
||||
|
||||
// Clear layout animation, as animation only apply to current UI operations batch.
|
||||
mNativeViewHierarchyManager.clearLayoutAnimation();
|
||||
|
||||
if (mViewHierarchyUpdateDebugListener != null) {
|
||||
mViewHierarchyUpdateDebugListener.onViewHierarchyUpdateFinished();
|
||||
}
|
||||
|
@ -723,9 +727,6 @@ public class UIViewOperationQueue {
|
|||
mDispatchUIRunnables.get(i).run();
|
||||
}
|
||||
mDispatchUIRunnables.clear();
|
||||
|
||||
// Clear layout animation, as animation only apply to current UI operations batch.
|
||||
mNativeViewHierarchyManager.clearLayoutAnimation();
|
||||
}
|
||||
|
||||
ReactChoreographer.getInstance().postFrameCallback(
|
||||
|
|
Loading…
Reference in New Issue