The grid (rendering) ยท console.warn
both `autoHeight` and a `rowHeight` function are set; `autoHeight` wins and the function is not used for row geometry. Drop one.
Printed by The grid (rendering), prefixed [lattice], since 1.4.0.
Warnings reference › height.autoHeight-and-rowHeight
- Identifier
height.autoHeight-and-rowHeight- Raised by
- The grid (rendering)
- Since
- 1.4.0
What happened
The two settings contradict each other rather than combining: autoHeight measures what the content wants, and a rowHeight function states what it should be. autoHeight wins, and the function still runs and still returns a height the geometry does not use - which is why the contradiction is named rather than left to look as though the function had worked.
The fix
Keep one. A fixed or per-row height means dropping autoHeight; measuring the content means dropping the function.
Reference
Covered in full at the API reference.