mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
committed by
Facebook Github Bot
parent
f186cfb9d6
commit
e8f9c442d6
@@ -351,7 +351,7 @@ class VirtualizedList extends React.PureComponent<OptionalProps, Props, State> {
|
||||
/>
|
||||
);
|
||||
if (ItemSeparatorComponent && ii < end) {
|
||||
cells.push(<ItemSeparatorComponent key={'sep' + ii}/>);
|
||||
cells.push(<ItemSeparatorComponent key={'sep' + key}/>);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user