Skip to content

Conversation

@sebmarkbage
Copy link
Collaborator

@sebmarkbage sebmarkbage commented Aug 4, 2025

This has been bothering me. You can click the arrow and the value to expand/collapse a KeyValue row but not the name.

When the name is not editable it should be clickable. Such as when inspecting a Promise value.

@sebmarkbage sebmarkbage requested review from eps1lon and hoxyq August 4, 2025 03:16
@meta-cla meta-cla bot added the CLA Signed label Aug 4, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Aug 4, 2025
@sebmarkbage sebmarkbage force-pushed the devtoolsclickkeyvalue branch from dd2d7c0 to 20e7949 Compare August 4, 2025 04:52
Copy link
Collaborator

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

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

I suspect this was intentional for text-selection. Now it behaves like <details>. But just a tiny chevron for the toggle is worse.

@sebmarkbage
Copy link
Collaborator Author

Yea it's annoying that it opens and closes if you try to copy the attribute name but at least of the common case of opening and closing it doesn't drop clicks.

@sebmarkbage sebmarkbage merged commit 8e3db09 into facebook:main Aug 4, 2025
242 checks passed
eps1lon pushed a commit to eps1lon/react that referenced this pull request Aug 4, 2025
…4095)

This has been bothering me. You can click the arrow and the value to
expand/collapse a KeyValue row but not the name.

When the name is not editable it should be clickable. Such as when
inspecting a Promise value.
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.

3 participants