Skip to content

Conversation

EugeneChoi4
Copy link
Contributor

Summary

Utilized <ViewTransition> to introduce a sliding animation upon switching between the Output and SourceMap tabs in the default playground view.

How did you test this change?

Screen.Recording.2025-09-24.at.3.38.37.PM.mov


const handleTabChange = (tab: string): void => {
startTransition(() => {
addTransitionType('tab');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to previous PR this type could be a constant in a separate module. Could also be better named, something like 'toggle-tab' to describe the action itself

@EugeneChoi4 EugeneChoi4 merged commit 3580584 into facebook:main Sep 29, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants