Scrolling within iframe of custom component


I’m currently developing a custom component (PrimeReact DataTable) and when I’m trying to embed it into Streamlit i encounter the issue that the iframe which it is instantiated within has its “scrolling” attribute set to “no”.
This is rather problematic when the amount of rows in the data table exceed the height of the iframe.
I tried simply changing the attribute to “yes” however I can’t seem to find a way to do this via Streamlit (As it was done with pure JavaScript code).
Is there a workaround for this? And if not, where in the (Streamlit core) code are these attributes being set?