alexbrillant / react-native-deck-swiper

tinder like react-native deck swiper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Elements Tiles as Cards with an ImageSRC that's a URI causes image re-render

mylesmmurphy opened this issue · comments

Hello
Thank you so much for this package! It works wonderfully well and provides everything We've been looking for.
However, when using Elements Tiles and having the background image set to a URI, the image is constantly re-rendered, causing the background to flash grey whenever a card is moved. This only happens (the re-render) during certain triggers, such as when the card crosses the threshold it will re-render (causing the card to flash grey as it reloads the URI image), or when the next card is being pushed to the top, it will re-render even though the image has been loaded on the tile already. I have assuming this occurs due to the deck swiper (as opposed to the Elements Tile) because it occurs on particular deck triggers, however, I could be mistaken. Please let me know if you know anything!

I'm also having this issue