Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

ResizeObserver is unavailable; the grid will not follow container size changes

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

Warnings referenceresize-observer

Identifier
resize-observer
Raised by
The grid (rendering)
Since
1.0.1

What happened

The grid watches its host element with a ResizeObserver and this runtime has none. The grid renders at the size it measured at mount and will not re-fit when the window, a split pane or a sidebar changes its box - columns sized to fit will be wrong after the first resize.

The fix

Load a ResizeObserver polyfill before creating the grid, or call grid.refresh() from your own resize handling.

Reference

Covered in full at the API reference.