Skip to content

v0.1.1

Choose a tag to compare

@alexberce alexberce released this 25 May 18:16
· 30 commits to main since this release

Fixed

  • Sibling layout caches now refresh on every animation frame during a
    size-collapsing exit, and are nulled when the element is finally
    removed. Previously, the post-removal relayout would FLIP each
    neighbor by the full reflow distance, snapping them back to their
    pre-exit positions and animating up again.

Added

  • Special-case collapse for <tr> exits. Because display: table-row
    derives its height from the tallest cell rather than its own CSS
    height, each cell's padding, font-size, and line-height are
    now animated to zero alongside the row's exit. The row's intrinsic
    height shrinks with the animation while the table layout stays
    intact.
  • fontSize and lineHeight added to PX_PROPS so the keyframe
    builder emits them with a px unit instead of as bare numbers
    (which WAAPI silently ignores).