这是indexloc提供的服务,不要输入任何密码
Skip to content

[FEAT]: Auto-expanding / resizable chat input box #4320

@chitwan-malhotra

Description

@chitwan-malhotra

What would you like to see?

Current Behavior
On the Web Interface, the chat input area does not auto-expand when a large block of text is pasted. The pasted content appears within a fixed-size field, requiring scrolling to view or edit the full text.

Observation
After testing further, I noticed that if you begin editing the pasted text (e.g., adding or removing characters), the input area then resizes and grows appropriately.

Feature Request
The input area should auto-expand immediately upon pasting large text, without requiring the user to start editing. This would make the behavior consistent and improve usability when working with long prompts or transcripts.

Reference
Attached are short recordings comparing the behavior across Claude, ChatGPT, and AnythingLLM for context.

https://github.com/user-attachments/assets/d7205dc0-b70d-4f83-ad3b-48240a01a491
https://github.com/user-attachments/assets/c83e2783-16e8-4f0a-ad29-aa32aeaf1337
https://github.com/user-attachments/assets/a3fbc911-06c5-4aa7-bdbf-a0bfc4f132bd

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions