Skip to content

Conversation

@eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Aug 25, 2025

#33516 added a layout switch for which side devtools is attached. Unfortunately, it pushed content outside of the viewport while truncating the content (which can be seen by disabling contain). This makes it annoying to work on the overall layout in devtools (specifically scrollable areas).

This PR preserves the overall fixture layout while making sure the content of devtools and inspected app aren't truncated.

Before:

CleanShot.2025-08-25.at.20.24.57.mp4

After:

CleanShot.2025-08-25.at.20.19.05.mp4

@meta-cla meta-cla bot added the CLA Signed label Aug 25, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Aug 25, 2025
<SuspenseTreeList />
</div>
<div className={styles.ResizeBarWrapper}>
<div className={styles.ResizeBarWrapper} hidden={treeListHidden}>
Copy link
Collaborator Author

@eps1lon eps1lon Aug 25, 2025

Choose a reason for hiding this comment

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

drive-by fix. I noticed when the sidebars were hidden that you would still get resize cursors without being able to resize anything.

@eps1lon eps1lon requested a review from hoxyq August 25, 2025 18:31
@eps1lon eps1lon marked this pull request as ready for review August 25, 2025 18:32
@eps1lon eps1lon merged commit bb7c9c1 into facebook:main Aug 26, 2025
250 checks passed
@eps1lon eps1lon deleted the sebbie/08-25-create_more_realistic_containers_in_devtools_fixture branch August 26, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants