atlanteh / react-native-slot-machine

Text slot machine for react-native
MIT License
156 stars 39 forks source link

Slot Machine reels flickers when using an image #6

Closed jlorencelim closed 1 year ago

jlorencelim commented 6 years ago

The reels in the slot machine flickers whenever I use an image for the reels instead of a plain text. The flicker happens every time after the slot machine finishes spinning. Is there a way to fix this problem?

atlanteh commented 6 years ago

Honestly, this module doesn't work well with images, as the images don't render fast enough on RN (especially on android). You can try using it with react-native-fast-image and it might speed up the images rendering. As for the flickering, I think this is a little bit of a problem due to the current implementation. If you want to have a look and fix that, that'd be great.

sabbyt54 commented 6 years ago

I had the same issue on emulator but surprisingly did not flicker on a build. Note I used local images.