FN-5706: hide chat input overflow until max-height
Prevent the chat composer from showing a right-edge scrollbar line before it reaches the autosize cap. - set chat textarea default overflow to hidden in ChatView CSS - add resolveChatInputOverflowY to switch overflow to auto only past the 640px cap - apply overflow mode during composer autosize updates - extend chat input autosize tests and docs to cover overflow behavior Files changed: docs/dashboard-guide.md | 2 +- packages/dashboard/app/components/ChatView.css | 1 + packages/dashboard/app/components/ChatView.tsx | 5 +++++ packages/dashboard/app/components/__tests__/ChatView.chat-input-autosize.test.tsx | 9 ++++++++- 4 files changed, 15 insertions(+), 2 deletions(-) Fusion-Task-Id: FN-5706 Fusion-Task-Lineage: 4619aa30-c02f-453b-bdf2-f60f360e9372
This commit is contained in:
@@ -1422,6 +1422,7 @@
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
resize: none;
|
||||
overflow-y: hidden;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
padding: 10px 14px;
|
||||
|
||||
Reference in New Issue
Block a user