From e8f9c442d6eb3f503234fd0b55a097db07e36fe1 Mon Sep 17 00:00:00 2001 From: Spencer Ahrens Date: Mon, 3 Apr 2017 18:36:28 -0700 Subject: [PATCH] Fix separator keys for LayoutAnimation Summary: Should key separators with their cells. **Test Plan** before/after in this video: https://youtu.be/vid1w5x8-58 Reviewed By: achen1 Differential Revision: D4821708 fbshipit-source-id: 261f1bac34dfa9001297a24a44f11128f338e62b --- Libraries/Lists/VirtualizedList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Lists/VirtualizedList.js b/Libraries/Lists/VirtualizedList.js index 5adabc67199..51580c79aa4 100644 --- a/Libraries/Lists/VirtualizedList.js +++ b/Libraries/Lists/VirtualizedList.js @@ -351,7 +351,7 @@ class VirtualizedList extends React.PureComponent { /> ); if (ItemSeparatorComponent && ii < end) { - cells.push(); + cells.push(); } } }