Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow bounce easings along a path to return a position outside of the…
… path (airbnb#2457) Don't clamp interpolated distance along path to 'progress' value between 0 and 1. Bounce in / Bounce out easings can transform the progress to negative values or values higher than 1. `getPosTan` unfortunately clamps the input to be between 0 and 1, so we need to handle the t < 0 and t > 1 cases separately. This is for the same issue I helped fix in the flutter library as well here: xvrh/lottie-flutter#330 Expected result (both bounce-in and bounce out) along linear and curved paths: https://github.com/airbnb/lottie-android/assets/632735/6a25e139-fc81-4c3b-b3f3-be118c56db06
- Loading branch information