Skip to content

Pre render row height#264

Merged
texodus merged 2 commits intomasterfrom
pre-render-row-height
Apr 14, 2026
Merged

Pre render row height#264
texodus merged 2 commits intomasterfrom
pre-render-row-height

Conversation

@texodus
Copy link
Copy Markdown
Member

@texodus texodus commented Apr 14, 2026

This PR replaces hard-coded row height fallbacks (19/20px) with a DOM probe that measures the actual CSS row height by briefly appending a hidden <table> when no row height is known yet (it can still be hinted via the data listener or read from the previous render state).

Also extends resetAutoSize() to accept a ResetAutoSizeOptions argument so callers can selectively reset auto, override, indices, and/or row_height (existing no-arg behavior preserved).

@texodus texodus added the enhancement Feature requests or improvements label Apr 14, 2026
@texodus texodus force-pushed the pre-render-row-height branch from bbca74b to 36a6ea8 Compare April 14, 2026 01:22
@texodus texodus merged commit 35c0844 into master Apr 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant