Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector icon appears with delay #288

Open
akonoplev opened this issue Dec 18, 2023 · 0 comments
Open

Vector icon appears with delay #288

akonoplev opened this issue Dec 18, 2023 · 0 comments

Comments

@akonoplev
Copy link

akonoplev commented Dec 18, 2023

Vector icon appears with delay

Hey guys, I want to use the rive sdk for animation of UITabBar's buttons, but unfortunately I faced with problem that the icon of animation appears with delay, and in the initial state icon is empty and appears after 1-3 seconds after

I've created a test project, you can easily reproduce this bug, just compile the project first time for simulator and device first time, but this issue can be reproduced event in second, third etc. times, but not 100%:
https://github.com/akonoplev/rive-issue

Source .riv/.rev file

this issue reproduces for every rive animation files

Expected behavior

<-- A clear and concise description of what you expected to happen. -->

We expect that riveView in initial state displays the vector icon, as Lottie does

Screenshots

<-- If applicable, add screenshots to help explain your problem. -->

Also, I want to provide a screen shot from my app, how TabBatItems looks like after we moved this logic from Lottie to Rive that you can deeply understand the problem

image

after 3 seconds:
image

Device & Versions (please complete the following information)

  • Device: iPhone12, iPhone13 and all available simulators for Xcode 15
  • iOS version iOS16, iOS17
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

No branches or pull requests

1 participant