St.text_input slow within st.form when many charts are rendered

Hi there!
I’m running streamlit 1.30.0 on Python 3.10.
I tried to run it both locally and remotely on streamlit community cloud.

I encountered a strange behavior with the text_input widget within st.form: when many plotly charts are loaded within the app, text_input becomes extremely slow and unresponsive.

I tried to replace it with a text_area widget and this one turned out to be much faster. Could someone explain this behavior?

I created a little demo for trying this out for yourselves.
You can find the repo here and the deployed app here.

Thanks! Antonio

2 Likes

I have the same problem.