How to interact with a HTML page that is rendered on streamlit using components

Hey!

I’m displaying HTML reports using streamlit components and this works just fine, however, whenever I click on any link or tab on this HTML file (that is interactive), it opens my own app again. So I basically have my app open and on the iframe of the HTML app, I see my app once again.

Is there any way to fix this so that the user can interact with the app inside this iframe streamlit component?

Thanks!

Could you post a sample minimal reproducible code?