thunderbug1 / streamlit-javascript

Streamlit component to execute javascript code on the client side and get back the result
MIT License
111 stars 3 forks source link

the streamlit-javascript <iframe> is not hidden #3

Closed spectereye closed 2 years ago

spectereye commented 2 years ago

Hi Just find though its height=0 it still shown on page as one row in layout - not perfect, could you please fix it?

thunderbug1 commented 2 years ago

I guess that must be a React thing to to, the component returns None when running the render function. I am not sure how it could be prevented that React adds anything to the DOM.

Is there any special reason why this is an issue?