react-native-image-sequence icon indicating copy to clipboard operation
react-native-image-sequence copied to clipboard

fix: iOS last image now is shown after animation completes

Open richardPFisk opened this issue 4 years ago • 1 comments

Problem

Displaying a non-repeating sequence of images on iOS results in the image-view going blank after the animation has finished.

On Android, it does retain the last image of the sequence.

A proposed solution

If the overall UIImageView image is set before the animation has started, the last image stays on screen after the animation is finished.

stack-overflow uiimageview fix

This also makes the behaviour of iOS the same as Android.

Also, thanks for developing the react-native-image-sequence in the first place :)

richardPFisk avatar Nov 21 '20 08:11 richardPFisk

Forked and used the library from @richardPFisk and it works perfectly. Would really appreciate it if this got merged into this library. Thanks for making this.

papidb avatar Apr 04 '21 12:04 papidb