Skip to content

fix(lab): animate standalone BottomSheet exit - #5020

Merged
imdreamrunner merged 1 commit into
mainfrom
codex/bottom-sheet-standalone-exit
Aug 14, 2026
Merged

imdreamrunner merged 1 commit into
mainfrom
codex/bottom-sheet-standalone-exit

Conversation

@imdreamrunner

Copy link
Copy Markdown
Contributor

Summary

  • keep standalone modal and no-scrim BottomSheets presented while their exit animation runs
  • make the closing sheet inert and accessibility-hidden until the transform completes
  • retain the modal scrim and scroll lock through the closing transition
  • document the standalone exit lifecycle and add regression coverage

Testing

  • pnpm exec vitest run packages/lab/src/BottomSheet/BottomSheet.test.tsx
  • pnpm -F @astryxdesign/lab build
  • verified the closing transition in the local Storybook Showcase

@vercel

vercel Bot commented Aug 14, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview Aug 14, 2026 4:43am

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

Modified Components

BottomSheet (@astryxdesign/lab) · View in Storybook
Metric Before After Delta
Bundle Size (ESM) N/A N/A N/A
Lines of Code N/A 902 -
Complexity N/A Very High (46) -

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/lab N/A 3.9KB 1.7KB

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

github-actions Bot added a commit that referenced this pull request Aug 14, 2026
@imdreamrunner
imdreamrunner merged commit faedff7 into main Aug 14, 2026
20 checks passed
@github-actions
github-actions Bot deleted the codex/bottom-sheet-standalone-exit branch August 15, 2026 06:10

This branch was successfully deployed

1 active deployment
Preview — ea65ba2a Deployed Aug 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants