Animations inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/AppAndFlow/react-native-ease/llms.txt
Use this file to discover all available pages before exploring further.
react-native-ease are interruptible by default. If you change animate values while an animation is running, it smoothly redirects from the current in-flight position to the new target — no jumping, no restarting.
How It Works
animate mid-animation is automatically handled.
Technical Details
Whenanimate values change, the native side:
- Diffs previous vs new values to find what changed
- Reads the current in-flight value from the presentation layer
- Creates a new animation from the current value to the new target
- Sets the final value immediately on the model layer
onTransitionEnd Behavior
When an animation is interrupted,onTransitionEnd fires with { finished: false } for the interrupted animation. The new animation, if it completes without interruption, fires with { finished: true }.
Animation Batching
Both platforms track animation batches with a generation ID. When new animations start, any pending callbacks from the previous batch are fired immediately as interrupted (finished: false) before the new batch begins. This means onTransitionEnd is always called — once per animation start, either as completed or interrupted.