Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

ImageUrl Array doesn't appear to be updating when array is updated (ImageUrl array reduced or added) #443

Open
mrshappy0 opened this issue Dec 11, 2020 · 2 comments

Comments

@mrshappy0
Copy link

mrshappy0 commented Dec 11, 2020

I've noticed that when I remove a photo from the imageUrl array that the array updates showing the proper array with a reduced length but that somehow when swiping to the very end of the array it get's passed undefined returning the error: Cannot read property 'url' of undefined

It's not exactly clear where the renderItem isn't updating because the index and totalIndex seem to update properly.

@xdarkleonx
Copy link

I have same issue. Any ideas how to fix it?

@Gfr1992
Copy link

Gfr1992 commented Jun 4, 2021

I've noticed that when I remove a photo from the imageUrl array that the array updates showing the proper array with a reduced length but that somehow when swiping to the very end of the array it get's passed undefined returning the error: Cannot read property 'url' of undefined

It's not exactly clear where the renderItem isn't updating because the index and totalIndex seem to update properly.

Hi,

did you find any workaround?

Tnx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants