react-native-sortable-list: SortableList sometimes does not render at all.

Hello!

I have encountered a bizarre issue where the sortable list fails to render about 10% of the time. The parent component does render, and I know this since I have a test <Text> tag before the list which is rendered correctly. The data passed to the list is the same every time and does not change. The data is simply an array containing 6 numbers. Any ideas?

<SortableList style={layoutStyles.wrapper} contentContainerStyle={layoutStyles.contentWrapper} data={testData} renderRow={this._renderRow} renderFooter={this._renderFooter} sortingEnabled={this.state.isSorting}/>

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 32 (13 by maintainers)

Most upvoted comments

still have this bug.

yup, still got this problem.

just update to 0.0.15

npm i --save react-native-sortable-list@0.0.15