react-native-gif-search icon indicating copy to clipboard operation
react-native-gif-search copied to clipboard

TypeError: undefined is not an object (evaluating 'item.images[_this3.giphyGifPreview].url')]

Open spectrox0 opened this issue 3 years ago • 1 comments

sometimes this error occurs to me, is there any way to avoid it?

spectrox0 avatar Aug 22 '21 14:08 spectrox0

@spectrox0 Oh, it seems like some gifs do not have the requested quality available. I should fix this by providing the closest quality available, or by not showing these gifs. It would really help if you could provide me the properties you use inside GifSearch component and a scenario in which you get this error (what text you search for etc.), so I can reproduce it.

What you could do until I update the package with a fix for this bug, is try some other value in the previewGifQuality property (low, medium or high) and see if the same problem still occurs.

Thanasis1101 avatar Aug 23 '21 06:08 Thanasis1101