Skip to content

Conversation

@mrsants
Copy link

@mrsants mrsants commented Dec 19, 2025

Closes #<ISSUE_NUMBER>

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (not applicable – no behavior change in DOM environments).
  • Filled out test instructions.
  • Updated documentation (not applicable – internal utility change).
  • Looked at the Accessibility Practices for this feature – no impact on ARIA behavior.

📝 Test Instructions:

  1. Run the project in a browser environment and verify that transitions behave as expected.
  2. Call runAfterTransition during active CSS transitions and confirm callbacks execute after transitions complete.
  3. Run the same code in a non-DOM environment (e.g. React Native or SSR) and verify:
    • No runtime errors related to window or document
    • runAfterTransition executes the callback immediately.

🧢 Your Project:

Community contribution

@mrsants mrsants closed this Dec 19, 2025
@mrsants mrsants reopened this Dec 19, 2025
@mrsants mrsants closed this Dec 19, 2025
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