Joint session with Vercel: How to build intelligent storefronts (May 15th)

Clicking field titles causes focus to jump to first input and scroll to top

14 repliesLast updated: Nov 29, 2025

Jumpy focus in the studio! This is odd and very, very annoying: we have a relatively complex schema with 22 fields, some of them inside 3 fieldsets of which 2 are collapsed by default. Clicking title/description of some of those fields will make Studio focus the very first title input and scroll to the top. I have disabled some of our customizations and still see this odd behaviour.
AI Update

This is a known bug in Sanity Studio that has affected multiple users with complex schemas containing fieldsets. When you click on the label or description of fields within collapsed fieldsets, Studio incorrectly focuses the first input (usually the title field) and scrolls to the top instead of focusing the field you actually clicked on.

What's happening

Based on reports from the Sanity community, this issue particularly affects documents where:

The problem is especially frustrating with radio buttons and other controls where users naturally expect to click the label to interact with the field - instead, focus jumps to the top of the page.

History and fixes

This bug was partially addressed in Sanity Studio v2.1.4 (released January 2021), which fixed "form would scroll to top when first focusing a child of a nested field." However, as reported in the community thread, some users continued experiencing focus issues even after that update, particularly with:

Potential workarounds

While waiting for a complete fix:

Reporting the issue

If you're still experiencing this on the latest Studio version (especially Studio v3 or v4), I'd recommend opening a new issue on the Sanity GitHub repository with:

The Sanity team has been responsive to these types of UX bugs, and providing clear reproduction steps helps them prioritize fixes for core editing workflows with fieldsets and collapsed sections.

Show original thread
14 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

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.

Related contributions