We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddce743 commit aefd8dbCopy full SHA for aefd8db
Libraries/Lists/VirtualizedSectionList.js
@@ -9,7 +9,6 @@
9
*/
10
'use strict';
11
12
-const Platform = require('../Utilities/Platform');
13
const React = require('react');
14
const View = require('../Components/View/View');
15
const VirtualizedList = require('./VirtualizedList');
@@ -145,7 +144,7 @@ class VirtualizedSectionList<
145
144
sectionIndex: number,
146
viewPosition?: number,
147
}) {
148
- let index = Platform.OS === 'ios' ? params.itemIndex : params.itemIndex + 1;
+ let index = params.itemIndex;
149
for (let i = 0; i < params.sectionIndex; i++) {
150
index += this.props.getItemCount(this.props.sections[i].data) + 2;
151
}
0 commit comments