fabfre / SwipeFlatList

Create a simple swipeable list in React Native
13 stars 8 forks source link

Old components still in flatlist #2

Open Bayramito opened 4 years ago

Bayramito commented 4 years ago

Hi,

I used this package, and i did excatly everything you done on the tutorial but somehow, after i delete an item, absoluteObject still stays in the flatlist.

What can cause this? I checked data on the state after successful delete, and data being removed but absolute stays in the position.

fabfre commented 4 years ago

sorry for my late response, I didn't check this repo for quite a while. this problem sounds to me as if the component doesn't get rerendered. Are you sure the state changes?