Bug: Composer input overflow with long unbroken string causes layout shift and send button misalignment
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
gui/src/components/mainInput/TipTapEditor/TipTapEditor.tsx と TipTapEditor.css から始め、次に ContinueInputBox.tsx またはその同等箇所にある入力ラッパーを確認します。100 文字を超える分割されていない文字列を使って Continue Composer で問題を再現し、関連する flex とエディターのスタイルを追跡します。文字列が入力領域内に収まり、送信ボタンと composer のレイアウトの整列が維持されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When typing or pasting a long unbroken string (no spaces, e.g., aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... or a long base64 token) in the Composer input box, the text overflows the input area instead of wrapping. This causes the flex container to expand, shifting the entire composer layout and misaligning the send button relative to the input.
To Reproduce
- Open Continue Composer in VS Code
- Type or paste a long string without spaces (e.g., 100+
acharacters) into the input box - Observe that the text extends beyond the input box boundary
- The composer panel shifts horizontally, and the send button drifts out of alignment
Expected behavior
- Long unbroken strings should wrap inside the input box
- The composer layout should remain stable regardless of input content
- The send button should stay in its normal position
Screenshots / Recordings
N/A — easily reproducible with any long no-space string.
Environment info
- Continue version: latest (observed in recent versions)
- IDE: VS Code
- OS: all (cross-platform CSS issue)
Root cause
The Composer uses TipTap (TipTapEditor.tsx + TipTapEditor.css) as its input component.
- No text wrapping fallback — The
.tiptapstyles inTipTapEditor.csslackoverflow-wrap: break-word/word-break: break-word. By default, the browser does not break unbroken strings, so they overflow the contenteditable div. - No min-width constraint on flex item — The input wrapper or its flex container lacks
min-width: 0, so the flex item's defaultmin-width: autoprevents the container from shrinking below the content width. This propagates the overflow outward, shifting the layout.
Suggested fix
In gui/src/components/mainInput/TipTapEditor/TipTapEditor.css, add to the .tiptap class:
.tiptap {
overflow-wrap: break-word;
word-break: break-word;
}
And on the flex container or input wrapper in ContinueInputBox.tsx (or equivalent), add min-width: 0 to the appropriate flex child to allow proper shrinking.
Additional context
This is a classic CSS flexbox overflow issue. The fix is minimal, backwards-compatible, and has no side effects on normal input behavior (spaces still wrap as before; only unbroken strings are affected).
- 主要言語
- TypeScript
- スター
- 36.2k
- フォーク
- 5.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
continuedev/continue のほかの issue
-
create_new_file writes a JSON file on one line when the model sends its contents as a JSON value対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
continuedev/continue#13363 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
continuedev/continue#13352 ·
-
fetch: SSE ping comments silently drop data in the same chunk対応中かも @fhgffy が 12 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
continuedev/continue#13347 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
continuedev/continue#13291 ·
-
Ollama provider drops `tools` after the first tool call, breaking multi-step agent loops対応中かも @dvd233 が 35 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
continuedev/continue#13254 · コメント 2 件 ·
continuedev/continue の issue をすべて見る
似ている issue
-
area:plugins enhancement platform:vscode
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
anthropics/claude-code#103166 ·
メンテナーはふだん 1 日以内に返信
-
check:failed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
iptv-org/iptv#55744 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
jitsi/jitsi-meet#18021 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
spec: discovery input example can contain multiple aliases for one parameter, with no canonical oneオープン
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
x402-foundation/x402#3841 ·
メンテナーはふだん 1 日以内に返信