[change] Update SectionList implementation

Mirror contents of React Native 0.57.5

Ref #1172
This commit is contained in:
Nicolas Gallagher
2018-11-17 14:30:52 -08:00
parent 3d4a179ef6
commit a2402e6077

View File

@@ -282,6 +282,7 @@ class SectionList<SectionT: SectionBase<any>> extends React.PureComponent<
*/
recordInteraction() {
const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();
// $FlowFixMe Found when typing ListView
listRef && listRef.recordInteraction();
}