
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeThis sounds like a CSS rendering or layout initialization bug in Sanity Studio 3.16. The "doesn't render correctly until browser resize" behavior is typically caused by CSS layout calculations not triggering properly on initial load.
Here are some things to try:
Quick fixes to test:
Clear your browser cache and Studio build cache - Sometimes stale CSS or build artifacts cause rendering issues:
# Clear the Studio build
rm -rf node_modules/.sanity
npm run devTry upgrading to the latest Studio v3 patch - There may be a fix already released:
npm install sanity@latestCheck the Sanity releases on GitHub to see if there are any bug fixes related to array fields in newer patches.
Check for custom CSS conflicts - If you have custom styling in your Studio, it might be interfering with the array field layout. Try temporarily disabling any custom styles to see if that resolves it.
Test in a different browser - This helps identify if it's browser-specific.
If those don't work:
This really should be reported as a bug to the Sanity team if it's consistently reproducible. You can:
Temporary workaround:
If you need to keep working while this gets resolved, you could add a small script that triggers a resize event on Studio load, though this is definitely a hack:
// In your sanity.config.ts
import {useEffect} from 'react'
export default defineConfig({
// ... your config
studio: {
components: {
layout: (props) => {
useEffect(() => {
// Force a layout recalculation
window.dispatchEvent(new Event('resize'));
}, []);
return props.renderDefault(props);
}
}
}
})The resize triggering the fix suggests the layout calculation is just not happening on mount, so forcing a recalculation might help until there's a proper fix. But definitely report this - it shouldn't be happening!
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store