Skip to content

Set a max number of lines for textarea in Chat #2696

@Patrick-Erichsen

Description

@Patrick-Erichsen

Before submitting your bug report

Relevant environment info

- OS:
- Continue version:
- IDE version:
- Model:
- config.json:

Description

When inputing text in Chat, we should set a max number of lines in the textarea (TipTapEditor). Maybe 10 lines, and then it scrolls, or if a user wants they can click and drag the bottom right corner to expand the textarea.

The current behavior is to grow as lines are added which looks bad after ~10 lines. See screenshot below.

Screenshot 2024-10-26 at 4 45 36 PM

To reproduce

No response

Log output

No response

Metadata

Metadata

Labels

area:chatRelates to chat interfacegood-first-issueSuggested issue for new contributorskind:enhancementIndicates a new feature request, imrovement, or extensionpriority:mediumIndicates medium prioritystale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions