Issue with array field in Sanity 3.16 fixed in 3.17 release.

13 replies
Last updated: Oct 3, 2023
having this really aggravating issue on 3.16 where the array field shows up like this unless i resize the browser. happens every time i open, but when i resize it fixes itself. help?
Sep 28, 2023, 4:15 PM
Sep 28, 2023, 6:20 PM
user J
what are the type options?
Sep 28, 2023, 6:21 PM
type
can be
dialog
or
popover
,
width
can be
'auto'
or a number.
Sep 28, 2023, 6:22 PM
says it right in the property description
Sep 28, 2023, 6:22 PM
got it
Sep 28, 2023, 6:26 PM
but that's for the modal that opens not the add item selector
Sep 28, 2023, 6:26 PM
true, what you can do though is target that select list in CSS and give it a min width. you can `import “path/to/custom.css” file in your sanity.config.ts file.
Sep 28, 2023, 7:04 PM
I’ve done this with other UI bugs in Sanity to fix it until official patches rollout.
Sep 28, 2023, 7:05 PM
it seems like it's a JS thing unfortunately with the positioning 😕
Sep 28, 2023, 7:06 PM
This looks like a bug. Thanks for reporting, User. We’ll log it with the Studio team.
Sep 28, 2023, 7:09 PM
user A
have a way of doing a hot fix for this? trying to fix for a client
Sep 29, 2023, 5:33 PM
Hi
user N
. The team just released
v3.17.0
, which includes a fix for this bug. When you have a chance, we’d love to confirm that it resolves the issue on your end. Thank you for your patience with this one.
Oct 3, 2023, 4:27 PM
fixed on my end thank yoU!
Oct 3, 2023, 6:39 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?