-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:st.chat_inputRelated to the `st.chat_input` widgetRelated to the `st.chat_input` widgetpriority:P3Medium priorityMedium prioritystatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
If you type a long prompt (or multiline prompt) into st.chat_input, the widget will grow to accommodate the size. However, if the placeholder text is long or multilined, it won't.
Reproducible Code Example
import streamlit as st
L,R = st.columns(2)
L.chat_input("Meow "*20)
R.chat_input("Meow\n"*20)Steps To Reproduce
No response
Expected Behavior
A multiline or long placeholder should be fully visible.
Current Behavior
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
Additional Information
No response
github-actions and ollegreen
Metadata
Metadata
Assignees
Labels
feature:st.chat_inputRelated to the `st.chat_input` widgetRelated to the `st.chat_input` widgetpriority:P3Medium priorityMedium prioritystatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected