In my scenario i have two st.collumns with two textareas. One is for User-Input the other one is for generated text.
Is it possible to expand the textarea with every line and get rid of the scroll bar in the text area?
While testing I was only able to use the scrollbar and I know that you are able to use st.markdown to insert HTML, but I don’t know how to call the textareas and how to edit these to adjust the height dynamically.
2
Answers
The testbox is now working. The problem now is to identify the two textareas created by streamlit inside of the collumns above. The document known to the script does not know these two textareas. Therefore selection by querryselector is not possible.
You will need to write a small script which will do the work. Checkout this