mochixuan/react-native-drag-sort

频繁的拖动后,报错TypeError: Cannot read properties of null (reading 'ref')

Opened this issue · 1 comments

频繁的拖动后,会报这个错

TypeError: Cannot read properties of null (reading 'ref')

This error is located at:
    in AnimatedComponent
    in AnimatedComponentWrapper (created by DragSortableView)

要自己兼容if(this.touchCurItem.ref) 可能在最新里面生命周期有变动