Sanity Studio v5.20.0: Fixes array field visibility, comment input flashing, and fallback media for unpublished documents

This release fixes several issues including array fields disappearing when expanding panes, IDE autocomplete for field definitions, nested array rendering problems, and comment input flashing in Portable Text fields.

🐛 Notable bugfixes and improvements

Fixes IDE autocomplete for the type property in defineField when used inside defineType’s fields array. Previously, autocomplete suggestions were only available when defineField was used standalone (thanks @codythatsme).

Fixes issue where array item previews would render incorrectly when the array was deeply nested inside another array using grid layout.

Fixes issue causing the comment input to flash when authoring a comment inside a Portable Text field.

Fixes issue causing fallback media to be displayed when a field references a document with no published version.

Fixes an issue where array fields could disappear after expanding their containing pane, if the array field had its Add item button disabled (e.g. via disableActions).