Unable to scroll after selecting type with array input in Sanity 3.2.6

3 replies
Last updated: May 31, 2023
Hi everyone,I was unable to scroll to the bottom section. This issue only triggers after I select the type that has array input.

my sanity cli version is 3.2.6
AI Update

This sounds like a known bug in older versions of Sanity Studio v3. Version 3.2.6 is quite outdated (from early 2023), and scrolling issues with array inputs were reported and fixed in subsequent releases.

The solution is to upgrade your Sanity Studio to the latest version. Here's how:

  1. Upgrade using the CLI command:

    npm install sanity@latest

    or use the dedicated upgrade command:

    npx sanity upgrade
  2. Check your current version after upgrading:

    npx sanity versions

The latest Sanity Studio version is now v4, which includes many improvements to array handling and overall performance, including Array Tree Editing and numerous UI bug fixes.

Before upgrading to v4, be aware:

  • You'll need Node.js 20 or higher
  • The good news: your Studio code works exactly as before with no changes required
  • Test in a development environment first

If you want to stay on v3 (not recommended long-term), at minimum upgrade to the latest v3.x release, which will still fix the scroll bug you're experiencing.

The scroll issue with array inputs was a rendering bug in early v3 releases where the Studio UI wouldn't properly calculate container heights after opening array fields, preventing you from scrolling to content below. This has been resolved in later releases, so upgrading should fix your issue immediately.

Show original thread
3 replies
Can you upgrade to the latest version to see if the issue persists?
Hi, thanks for the assist. After I updated Sanity to the latest version, it worked smoothly. πŸ‘
Excellent!

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.

Was this answer helpful?