You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors in a document appear at the top right of the document editor, and can be clicked to go directly to the error's source, either by scrolling if the field is visible or by opening an object if the field is hidden inside one.
Unfortunatly when the field with the error is inside a collapsed fieldset, scrolling doesn't work, and opening the object only works if the fieldset has been uncollapsed at least once.
To Reproduce
Here are two screencasts showing the problem in both cases (field inside an object and otherwise), and the code used to create both.
I expect the fieldset to be uncollapsed and the autoscroll to happen
I expect the object where the errored field to be open
Which versions of Sanity are you using?
@sanity/cli 1.149.9 (up to date)
@sanity/base 1.149.10 (up to date)
@sanity/cli 1.149.9 (up to date)
@sanity/components 1.149.10 (up to date)
@sanity/core 1.149.12 (up to date)
@sanity/dashboard 1.149.10 (up to date)
@sanity/default-layout 1.149.10 (up to date)
@sanity/default-login 1.149.11 (up to date)
@sanity/desk-tool 1.149.10 (up to date)
@sanity/google-maps-input 1.149.7 (up to date)
@sanity/storybook 1.149.7 (up to date)
@sanity/vision 1.149.0 (up to date)
The text was updated successfully, but these errors were encountered:
We are currently working on improving our workflows and follow-up on our open GitHub repository. In that work, we have decided to close most issues older than the release of Sanity Studio v3.
We value your feedback, so if this issue is still important to you and relevant for Sanity Studio v3, please search for relevant open issues. If you can’t find any, open a new one and link to relevant comments in this thread. For questions about how to do something, please post them in the slack community.
Describe the bug
Errors in a document appear at the top right of the document editor, and can be clicked to go directly to the error's source, either by scrolling if the field is visible or by opening an object if the field is hidden inside one.
Unfortunatly when the field with the error is inside a collapsed fieldset, scrolling doesn't work, and opening the object only works if the fieldset has been uncollapsed at least once.
To Reproduce
Here are two screencasts showing the problem in both cases (field inside an object and otherwise), and the code used to create both.
Screencasts.zip
Expected behavior
If the fieldset is collapsed:
Which versions of Sanity are you using?
@sanity/cli 1.149.9 (up to date)
@sanity/base 1.149.10 (up to date)
@sanity/cli 1.149.9 (up to date)
@sanity/components 1.149.10 (up to date)
@sanity/core 1.149.12 (up to date)
@sanity/dashboard 1.149.10 (up to date)
@sanity/default-layout 1.149.10 (up to date)
@sanity/default-login 1.149.11 (up to date)
@sanity/desk-tool 1.149.10 (up to date)
@sanity/google-maps-input 1.149.7 (up to date)
@sanity/storybook 1.149.7 (up to date)
@sanity/vision 1.149.0 (up to date)
The text was updated successfully, but these errors were encountered: