v4.3.3

juliangarnier/animev4.3.3Jan 22, 2026by juliangarnier

AI Summary

Feature and documentation update improving refresh functionality with unit conversion support and adding onResize callback for scroll-based animations.

Key Highlights

  • Function-based from values now refresh correctly
  • Unit conversion (e.g., svh to rem) recalculated on refresh
  • Add onResize callback for scroll container resize events
  • Add missing backward property documentation
  • Add opacity animation preview to easing functions editor

New Features

  • onResize callback for onScroll
  • Easing functions editor opacity preview

Full Release Notes

## Improvements

- **Refresh**
  - Function-based "from" values now refresh correctly when calling `.refresh()`
  - Unit conversion (e.g., `svh` to `rem`) is recalculated on refresh

- **onScroll**
  - Add `onResize` callback that triggers when the scroll container refreshes due to a resize event

## Documentation

- **Playback**
  - Add missing `tl.backward` / `anim.backward` / `time.backward` property doc

- **Easing**
  - Add an opacity animation preview to the easing functions editor