mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 07:05:28 +00:00
Row heights were cached by row index, so after a resize to more columns the rows measured at the old width kept their old heights: the grid claimed 14,270 px, then shrank to its real 12,008 px as rows were measured, and the scrollbar jumped by 2,262 px. Rows are now keyed by column count and card width, so a new layout starts from fresh estimates (a 37 px settle). The column maths, focus-row pinning and row key are named helpers with unit tests, and the grid has layout tests for the notice offset and for keeping its layout while its panel is hidden.