Help articles

Structure: Item returned no child

Studio logs Pane resolution error at index <n>: Pane returned no child in the browser console when you open a list item that doesn't resolve to a child pane. In most cases, you want to return a child when a list item is clicked. If you are receiving this warning, the list item probably doesn't define a child, or a custom child resolver returns undefined.

You usually want to specify a child for an item:

If you pass a function to .child(), make sure it returns a pane for every ID it can receive. A resolver that returns undefined for some IDs logs the same warning. This resolver returns a document list for whichever author is clicked:

Omitting .child(...) still logs Pane returned no child. There is no supported way to mark an item as an intentional leaf.

Was this page helpful?