Skip to content

[dev] added note about fixed cardHeight as the recommended way to use…#77

Merged
mafanya23 merged 2 commits intomasterfrom
add-note-render-lazy-column
Feb 13, 2026
Merged

[dev] added note about fixed cardHeight as the recommended way to use…#77
mafanya23 merged 2 commits intomasterfrom
add-note-render-lazy-column

Conversation

@kullias
Copy link
Copy Markdown
Contributor

@kullias kullias commented Feb 12, 2026

… lazy render with column scroll

a comment WHY:

currently, there is a requirement to use cardHeight with lazy rendering and default layouts. for column scroll layouts, there is logic that counts average heights and predicts sizes and scroll position to show cards during scroll and dnd.
the current logic is not infallible, unfortunately. we received a bug report and there is a sufficiently good fix at the moment, but the overall sentiment is "the code is complex and still not infallible, it will fail in other circumstances like custom templates etc, it's probably better to remove this logic for good and fix the height of cards to make it reliable, predictable and better maintaineable".
however, we can't just remove it for the sake of the users who already rely on variable height and lazy rendering in column layouts.

therefore we decided to mark the fixed height as the recommended way to use lazy + column scroll and the logic that predicts heights based on current variable heights of cards as somewhat experimental and not entirely reliable.

@kullias kullias requested a review from mafanya23 February 12, 2026 12:28
@mafanya23 mafanya23 merged commit 011ca74 into master Feb 13, 2026
@kullias kullias deleted the add-note-render-lazy-column branch March 10, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants