Skip to content

feat(presence): subtree-aware WAAPI exit detection (ADR 0011)#418

Merged
pimenovoleg merged 1 commit into
mainfrom
feat/adr-0011-waapi-presence
Jun 13, 2026
Merged

feat(presence): subtree-aware WAAPI exit detection (ADR 0011)#418
pimenovoleg merged 1 commit into
mainfrom
feat/adr-0011-waapi-presence

Conversation

@pimenovoleg

Copy link
Copy Markdown
Contributor

Upgrade PresenceMachine to detect exit animations via the Web Animations API across the template root and its whole subtree, so an exit can be a @Keyframes OR a CSS transition, on the positioner OR the popup nested inside it — retiring the positioner "decoy keyframe" convention.

Description

Upgrade PresenceMachine to detect exit animations via the Web Animations
API across the template root and its whole subtree, so an exit can be a
@Keyframes OR a CSS transition, on the positioner OR the popup nested
inside it — retiring the positioner "decoy keyframe" convention.
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
primitives-storybook Ready Ready Preview, Comment Jun 13, 2026 7:19am
radix-astro-doc Ready Ready Preview, Comment Jun 13, 2026 7:19am

Request Review

@github-actions

Copy link
Copy Markdown

⚡ Performance

Total duration: 133.3 ms +2.2 ms (+1.7%) · Renders: 16 (+0) · Paint: 164.9 ms +5.9 ms (+3.7%)

All benchmarks within noise (±20%). ✅

4 tests within noise
Test Duration Renders Paint
Select open (50 options) 4.8 ms −0.0 ms (-0.0%) 7 (+0) 7.8 ms −0.8 ms (-9.4%)
Select open (1000 options) 83.9 ms +1.2 ms (+1.5%) 7 (+0) 90.6 ms +1.0 ms (+1.1%)
Checkbox mount (500 instances) 29.1 ms +1.2 ms (+4.1%) 1 (+0) 44.3 ms +4.1 ms (+10.1%)
Checkbox toggle (500 instances) 15.6 ms −0.1 ms (-1.0%) 1 (+0) 22.3 ms +1.6 ms (+7.7%)

Lower is better. ▲ regression · ▼ improvement · within-noise = |Δ| ≤ 20% of base median.

@pimenovoleg pimenovoleg merged commit a1f894b into main Jun 13, 2026
14 checks passed
@pimenovoleg pimenovoleg deleted the feat/adr-0011-waapi-presence branch June 13, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant