Skip to content
Documentation/MovePresenceForMode

Search documentation

Type to search the documentation.

Reference

MovePresenceForMode

'sync' — entering and leaving items animate at the same time.

Overview

'sync' — entering and leaving items animate at the same time. 'wait' — no new view is created until every pending leave has resolved. 'popLayout' — a leaving row is taken out of flow so the remaining rows close the gap immediately, instead of waiting for the exit animation to finish. The list container must be positioned (position: relative) for the row to stay where it was.

Stable API — covered by semantic-versioning guarantees.

  • Kind: Type alias
  • Stability: stable

Definition

type MovePresenceForMode = 'sync' | 'wait' | 'popLayout';