Skip to content

[docs] Document test animations#4656

Open
lyzno1 wants to merge 1 commit intomui:masterfrom
lyzno1:codex/docs-animation-tests
Open

[docs] Document test animations#4656
lyzno1 wants to merge 1 commit intomui:masterfrom
lyzno1:codex/docs-animation-tests

Conversation

@lyzno1
Copy link
Copy Markdown
Contributor

@lyzno1 lyzno1 commented Apr 21, 2026

What changed

  • Added guidance for setting globalThis.BASE_UI_ANIMATIONS_DISABLED = true in test setup files.
  • Clarified that the flag skips Base UI animation waiting logic but does not remove CSS transitions or animations.

Why

Closes #4313.

Validation

  • pnpm exec markdownlint-cli2 'docs/src/app/\(docs\)/react/handbook/animation/page.mdx'
  • pnpm exec prettier --check "docs/src/app/(docs)/react/handbook/animation/page.mdx"

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 21, 2026

commit: 39c8933

@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented Apr 21, 2026

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

Total duration: 1,126.12 ms ▼-143.37 ms(-11.3%) | Renders: 53 (+0) | Paint: 1,740.88 ms ▼-233.71 ms(-11.8%)

Test Duration Renders
Tabs mount (200 instances) 209.08 ms ▼-25.71 ms(-11.0%) 4 (+0)
Menu mount (300 instances) 119.45 ms ▼-24.85 ms(-17.2%) 2 (+0)
Select mount (200 instances) 128.37 ms ▼-21.52 ms(-14.4%) 3 (+0)
Mixed surface mount (app-like density) 81.57 ms ▼-19.75 ms(-19.5%) 5 (+0)
Menu open (500 items) 58.69 ms ▼-11.70 ms(-16.6%) 12 (+0)

...and 7 more. View full report

Details of benchmark changes


Check out the code infra dashboard for more information about this PR.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 21, 2026

Deploy Preview for base-ui ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 39c8933
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69e784523591a100084625ae
😎 Deploy Preview https://deploy-preview-4656--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lyzno1 lyzno1 force-pushed the codex/docs-animation-tests branch from 5301456 to 5ff6858 Compare April 21, 2026 13:53
@zannager zannager added the docs Improvements or additions to the documentation. label Apr 21, 2026
@lyzno1 lyzno1 force-pushed the codex/docs-animation-tests branch from 5ff6858 to 39c8933 Compare April 21, 2026 14:06
@lyzno1
Copy link
Copy Markdown
Contributor Author

lyzno1 commented Apr 23, 2026

@atomiks Is this the intended public way to disable Base UI animation waiting in test environments? I’d like to use it in my own project, but it wasn’t documented yet. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for BASE_UI_ANIMATIONS_DISABLED

2 participants