Skip to content

Conversation

@richardPFisk
Copy link

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 :)

@papidb
Copy link

papidb commented Apr 4, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants