react-native-gif-search
react-native-gif-search copied to clipboard
TypeError: undefined is not an object (evaluating 'item.images[_this3.giphyGifPreview].url')]
sometimes this error occurs to me, is there any way to avoid it?
@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.