dotnet / dotnet/aspnetcore

Components.AI: Implement composer keyboard, IME, and autogrow behavior

Open
#68,386 0 comments 0 reactions 0 assignees View on GitHub
area-blazor cost: S feature-accessibility feature-blazor-builtin-components Priority:0
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is your feature request related to a problem? Please describe the problem.

Enter always submits, Shift+Enter cannot insert a newline, IME composition can submit prematurely, and the textarea does not grow with content.

### Describe the solution you'd like

Implement configurable submit keybindings with Enter-to-send and Shift+Enter newline by default, guard IME composition, and use CSS `field-sizing: content` with a max-height and internal overflow. Reset sizing after send.

### Additional context

Leaf task for #68227 requirements C5, H1, and H2.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Components.AI composer implementation and its textarea, send handling, and styling. Verify Enter-to-send, Shift+Enter newlines, IME composition protection, CSS content sizing with a maximum height and internal overflow, and sizing reset after sending; use any nearby tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.