Description
When a large amount of text from Agent.md in General Settings is pasted into the CraftBot chat input, the chat box expands significantly and takes up a large portion of the screen.
The input box should have a maximum height and become scrollable once the pasted content exceeds that height, instead of continuing to expand.
Steps to Reproduce
- Open CraftBot.
- Go to Settings → General Settings.
- Copy the content of
Agent.md.
- Open a chat.
- Paste the copied content into the chat input box.
Current Behavior
The chat input box expands vertically based on the pasted content and can occupy a large portion of the chat screen.
Expected Behavior
The chat input box should
- Expand only up to a reasonable maximum height.
- Show an internal scrollbar when the content exceeds that height.
- Keep the main chat area visible and usable.
Screenshot
See the attached screenshot for an example of the issue.
Additional Notes
This should likely be reproducible with any sufficiently large pasted text, not only Agent.md.
Description
When a large amount of text from
Agent.mdin General Settings is pasted into the CraftBot chat input, the chat box expands significantly and takes up a large portion of the screen.The input box should have a maximum height and become scrollable once the pasted content exceeds that height, instead of continuing to expand.
Steps to Reproduce
Agent.md.Current Behavior
The chat input box expands vertically based on the pasted content and can occupy a large portion of the chat screen.
Expected Behavior
The chat input box should
Screenshot
See the attached screenshot for an example of the issue.
Additional Notes
This should likely be reproducible with any sufficiently large pasted text, not only
Agent.md.