Hi there, I maintain a streamlit component called ITables (which BTW I would like to see in the components gallery - not sure how one can achieve that??).
My component works well, however there is one thing that I have not been able to fix, which is updating the iframe height when the component height changes. The easiest way to trigger a height change is but entering text in the search box - the table will show fewer lines, but the component height remains unchanged.
That’s a problem as some actions on the table can make it bigger, e.g. if the user chooses to display more rows per page.
I have tried to call Streamlit.setFrameHeight()
when my table component is redrawn but then the Streamlit app gets continuously updated, and I loose the table state.
I see that this precise issue was discussed previously at Disqus integration - #6 by okld and that the corresponding GitHub issue Do not re-render components on frame height change · Issue #1525 · streamlit/streamlit · GitHub was closed, however I still encounter the exact same problem.
Would anyone have indications on how to address this?
Also I am keep track of this issue in my own project tracker at Tables in a Streamlit app have a fixed height that does not work well with lengthMenu or search extensions · Issue #275 · mwouts/itables · GitHub
Thanks!