Skip to content

v0.1.4

Choose a tag to compare

@alexberce alexberce released this 25 May 21:40
· 21 commits to main since this release

Fixed

  • Layout cache now seeds when an element transitions from hidden to
    visible. The v0.1.3 fix stopped caching a bogus (0, 0) for elements
    inside a display: none ancestor, but the cache stayed empty until
    the first DOM mutation while visible — and by that point the move
    had already happened, leaving FLIP without a pre-move position to
    animate from. An IntersectionObserver now watches every tracked
    element and seeds the cache the moment visibility changes.