Open artsmvch opened 2 months ago
Animation triggers every time the loading progress changes. Which leads to situations like in the attached video:
https://github.com/Kamel-Media/Kamel/assets/61359788/4a5373e5-3e08-40aa-bd6d-a8ae247732a8
Instead, the transition animation should only trigger when the resource type changes: from loading to success or from loading to failure.
loading
success
failure
Can you provide a basic sample or a code snippet?
Animation triggers every time the loading progress changes. Which leads to situations like in the attached video:
https://github.com/Kamel-Media/Kamel/assets/61359788/4a5373e5-3e08-40aa-bd6d-a8ae247732a8
Instead, the transition animation should only trigger when the resource type changes: from
loading
tosuccess
or fromloading
tofailure
.