You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
The first time rowHeightGetter is called it always returns 50 because the rows haven't been rendered yet. Once the rows have been rendered it gets called again and the row height updates (there's about a 500ms delay which I'm also trying to fix) but onContentHeightChange does not get called again, and so if any of the rows grew in height, the table cuts them off at the bottom.
I threw some console.logs into each function and confirmed that onContentHeightChange is not being called after rowHeightGetter returns the new values.
fixed-data-table 0.4.7
react 0.14.0
The text was updated successfully, but these errors were encountered:
As far as I can tell it's only running once when the component mounts.
rowHeightGetter:
onContentHeightChange:
table:
The first time
rowHeightGetter
is called it always returns 50 because the rows haven't been rendered yet. Once the rows have been rendered it gets called again and the row height updates (there's about a 500ms delay which I'm also trying to fix) butonContentHeightChange
does not get called again, and so if any of the rows grew in height, the table cuts them off at the bottom.I threw some console.logs into each function and confirmed that
onContentHeightChange
is not being called afterrowHeightGetter
returns the new values.fixed-data-table 0.4.7
react 0.14.0
The text was updated successfully, but these errors were encountered: