shell ยท console.warn
lattice-shell: cell "{cellId}" has more than...
Printed by shell, prefixed [lattice], since 1.111.0.
Warnings reference › shell.tabs.selected.multiple:*
- Identifier
shell.tabs.selected.multiple:*- Raised by
- shell
- Since
- 1.111.0
What happened
A tabbed cell's tabs array had more than one tab declaring selected: true. Only one tab can be active on first render, so the module resolves the ambiguity itself - the last tab in the array that declared it - rather than refusing to mount.
The fix
Mark exactly one tab selected: true, or mark none to fall back to the first tab.
The smallest fix
{ id: 'main', tabs: [{ id: 'a' }, { id: 'b', selected: true }] } // b is active on first render
Reference
Covered in full at the API reference.