Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

the grid cannot be maximised because its element is not in the document.

Printed by The grid (rendering), prefixed [lattice], since 1.4.0.

Warnings referencemaximise.detached

Identifier
maximise.detached
Raised by
The grid (rendering)
Since
1.4.0

What happened

Maximising moves the grid's element to the document body and leaves a placeholder in its old position, and there is no old position: the element has no parent, or there is no body. The grid declines rather than moving itself somewhere it could never come back from.

The fix

Insert the grid's element into the document before maximising it.

Reference

Covered in full at the API reference.