Bugs and workarounds
#
Documents missing on long sorted listsBug: When opening a large document list, if you sort it (e.g. alphabetically), you might notice some documents are missing. If you scroll down the list, you might also notice that the documents seem to jump around.
This happens because Sanity, for performance reasons, won't load all your documents as soon as you open the list, it will only load them as you scroll down the list. Unfortunately this behavior is buggy when you sort a large list (greater than 50 documents), causing the aforementioned bugs.
This bug has already been reported to the Sanity team, so it is expected to be resolved sooner or later. To check the current status of the bug, click here.
Workaround: There are two ways to go around this issue. The first one is to simply use the search bar to search for the document you want, instead of scrolling through a big list of documents. The other way is to scroll until the end of the list, forcing all documents to load, after which you should be able to see all the documents correctly sorted as you have chosen.
#
Clicking validation errors fails to scroll/open error location if inside collapsed sectionBug: When you have validation errors, you should be able to click on the Error sign and be guided to the field where the error occurred. Unfortunately there is a bug in Sanity that might prevent this from happening if the error is within a collapsed section.
This bug has already been reported to the Sanity team, so it is expected to be resolved sooner or later. To check the current status of the bug, click here.
Workaround: Open all the collapsed sections, starting from the last one to the first one. Once every section is expanded, try clicking on the Error sign again. It should now guide you to fields with validation errors.