Skip to content

v0.2.0

Choose a tag to compare

@alexberce alexberce released this 20 Jul 00:11
· 2 commits to main since this release
9fd4570

Performance

  • Enter and exit animations on large streamed lists no longer thrash layout. Shift now batches the layout reads and writes for the whole burst, so a filter that adds or removes hundreds of rows forces layout once instead of once per row.
  • Elements far outside the viewport skip their enter and exit animation, so only the visible rows animate.

Added

  • New attribute: pin_exit. On exit, if a staying sibling would move up into the leaving element's slot, Shift lifts the element out of flow (position: fixed) so the neighbours close the gap during the exit instead of snapping shut once the node is removed. Best for fade and scale exits. Off by default.