Comments (6)
Finally looked into this! So its not actually the timing information thats causing the error, its the control point on the path. Its a linear path but it has a control point on the end. This is confusing Core Animation for some reason. It seems that core animation doesn't solely depend on timing functions for easing unfortunately. To fix this we will have to write a custom interpolator.
For now a quick fix is to just remove the control point from your path animation
from lottie-ios.
Can you send the AE file so we can test it out?
from lottie-ios.
@therealsalih Here is the AE file. Animation works fine in AE and the bodymovin preview, but seems to have a lag in the first y-axis position transform when run through Lotti.
drop-rotate.aep.zip
from lottie-ios.
Hi @nlogioco and @lawsonshanks I can see what the issue is here. it looks like there an issue with linear position keyframes. they look like they are easing even though they are linear. We will look into this ASAP! Thanks!
from lottie-ios.
@buba447 Thx!
We run into this issue with the first animation we created. May I suggest to add this as know issue in the readme.
from lottie-ios.
Finally found a fix for this!
Lottie has been completely rewritten in Swift as of 3.0 (#777)
I am closing all issues prior to this release to reduce the noise. If you continue to run into this issues or any issue with Lottie 3.0 please open a new ticket
For continued support of Lottie Objective-c please point to this branch: https://github.com/airbnb/lottie-ios/tree/lottie/objectiveC
from lottie-ios.
Related Issues (20)
- Airbnb
- UIColor extension: lottieColorValue not available in visionOS HOT 2
- Xcframework doesn't contain dSYMs
- json animations with images can be loaded from the sandbox HOT 1
- reuse LottieView and prevent .configure from being called again HOT 2
- no rule to process file 'PrivacyInfo.xcprivacy' of type 'text.xml' with CocoaPods HOT 8
- I am seeing 'Command PhaseScriptExecution failed HOT 2
- Modifying state during view update, this will cause undefined behavior.
- `PrivacyInfo.xcprivacy` is not included in `lottie-spm` repo HOT 4
- Warning in Xcode when using Lottie 4.4.0 with cocoa pods HOT 1
- LottieAnimationView layout stuck in infinite loop HOT 5
- Completion Closure Not Called in CA Mode Like in Main Thread Mode HOT 1
- LottieView.animationDidFinish not called correctly when background behavior is set to continue playing
- Lottie missing elements in Animation HOT 3
- SPM fails to compile when lottie-spm is added via SPM Package.swift file HOT 1
- module map 'xxx/lottie-ios/Lottie.modulemap' not found HOT 2
- can't clone Lottie iOS on cocoa pods HOT 2
- lottie-spm fails builds in GitHub Actions
- Lottie animation freezes whole app on 4.4.0/4.4.1 (works fine on 4.3.1) HOT 1
- Lottie animation freezes whole app on 4.4.0/4.4.1 (works fine on 4.3.1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lottie-ios.