aws-samples / aws-samples/bedrock-chat

[BUG] Cann't Select text [ Code block ] while streaming!

Open
#389 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
535
Avg merge
1d 12h
Merged PRs (30d)
10

Description

## Describe the bug

When LLM start generating content we can't select text while streaming, especially in the code block!

## To Reproduce

ask any question that will generate code, try to select text while printing.

Contributor guide

Open the contributing guide

Research direction

Reproduce the problem in the chat UI by asking a question that generates a code block, then try selecting text while the response streams. Trace the streaming response rendering and code-block display; done means text can be selected normally during generation, especially inside code blocks.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.