npm tamagui 2.0.0-rc.20
v2.0.0-rc.20

latest release: 2.0.0-rc.21
8 hours ago

Features

  • static: auto-optimize user-defined styled components behind enableDynamicEvaluation flag (natew)

Bug Fixes

  • prevent animatedBy, unstyled, and marginLeft props from leaking to dom (natew)
  • motion: fix position flash and ghost elements during rapid tab hover switching (natew)
  • popper: prevent position jumps during hoverable close/open cycles (natew)
  • animation-css: restore transition on interrupted exit (natew)
  • animations-motion: add env flags for hacks, fix exit race conditions (natew)
  • popover: fix hoverable multi-trigger not opening on hover (natew)
  • popover: support hoverable delay with multi-trigger popovers (natew)
  • animate-presence: freeze custom prop for exiting children (natew)
  • use Array.from for NodeListOf iteration in test (natew)
  • popover: clean up timers on unmount and reset stale position refs on close (natew)
  • popover: support restMs with multi-trigger hopovers and fix switching race (natew)
  • dialog: use relative z-index instead of hardcoded 100000 (natew)
  • animations-motion: remove hacks 1, 5 and env flag infrastructure (natew)
  • popover: simplify multi-trigger switching to single onTriggerRef boolean (natew)
  • animations-motion: restore inline style commit to prevent WAAPI flash on completion (natew)
  • remove not needed motion workaround (natew)
  • animations-motion: replace getComputedStyle hack with WAAPI commitStyles (natew)
  • popover: replace floating-ui useHover with simple timer-based hover (natew)
  • popover: restore safePolygon for geometric close handling (natew)

Tests

  • update TabHoverAnimation test case to use real hoverable multi-trigger pattern (natew)
  • fix flaky CI tests with better timing (natew)
  • fix flaky CI tests and skip reanimated rapid sweep exit (natew)
  • use rAF polling for animation intermediate checks in CI (natew)
  • tighten rAF polling checks to verify real animation duration (natew)
  • fix flaky CI tests with polling, generous timeouts, and native skips (natew)
  • restore position smoothness test for tab hover animation (natew)
  • skip position smoothness tests for native driver (natew)
  • fix CI flakes for reanimated driver and sheet viewport issues (natew)
  • loosen CI flaky thresholds for position smoothness and stress tests (natew)

Continuous Integration

  • fix EADDRINUSE race in parallel test runner (natew)

Chores

  • default motion driver to hacks 2+6 only for testing (natew)
  • restore all motion hacks enabled by default (natew)

Reverts

  • restore motion driver hacks pending further investigation (natew)
  • remove position reset on close (caused jumps during hover switching) (natew)

Commits

  • 5dadb68: update plans (natew)
  • f38ef2b: after fixing downstream issues, remove 6/8 hacks from motion driver (natew)
  • 4e9f464: v2.0.0-rc.20 (natew)

Don't miss a new tamagui release

NewReleases is sending notifications on new releases.