You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tanstack Query Devtools does not fill out the whole page height in the tanstack devtools #11182
Inside that, the Solid parentPanel class is height: 100% (packages/query-devtools/src/Devtools.tsx:2813), and ParentPanel itself sets no height of its own. So when you drag the TanStack Devtools shell taller, the outer 500px div doesn't grow, and the inner panel correctly fills 100% of 500px — which is the gap you marked in red, plus the scrollbar on long query lists.
Question for maintainers on whether the default should change: style is clearly the intended escape hatch ({ height: '100%' } is even given as an example on the prop's JSDoc), so the 500px default looks deliberate for standalone use. But when the panel is embedded as a plugin in @tanstack/react-devtools, filling the host area seems like the only sensible behavior, and requiring every user to pass style to get it is an easy thing to trip on — as here.
Would you accept a PR that defaults the embedded/plugin case to filling its parent, leaving the standalone 500px default alone? Happy to put that together if you'd like it, but it changes a default that affects every ReactQueryDevtoolsPanel consumer, so I didn't want to guess at the intended behavior.
Activity
arjun2075 commentedon Aug 13, 2026
Had a look at this , the panel isn't failing to fill its container, it's filling a container that's fixed at 500px.
ReactQueryDevtoolsPanelmounts into a div with a hardcoded default height:Inside that, the Solid
parentPanelclass isheight: 100%(packages/query-devtools/src/Devtools.tsx:2813), andParentPanelitself sets no height of its own. So when you drag the TanStack Devtools shell taller, the outer 500px div doesn't grow, and the inner panel correctly fills 100% of 500px — which is the gap you marked in red, plus the scrollbar on long query lists.Passing
styleexplicitly works today:That should unblock you right away.
Question for maintainers on whether the default should change:
styleis clearly the intended escape hatch ({ height: '100%' }is even given as an example on the prop's JSDoc), so the 500px default looks deliberate for standalone use. But when the panel is embedded as a plugin in@tanstack/react-devtools, filling the host area seems like the only sensible behavior, and requiring every user to passstyleto get it is an easy thing to trip on — as here.Would you accept a PR that defaults the embedded/plugin case to filling its parent, leaving the standalone 500px default alone? Happy to put that together if you'd like it, but it changes a default that affects every
ReactQueryDevtoolsPanelconsumer, so I didn't want to guess at the intended behavior.ThijsOnGitHub commentedon Aug 18, 2026
@arjun2075 Thank you, that already helps. And I see there is already an PR created.