[BUG] Changing mode sets scroll position below chat window
- 主要言語
- Lua
- スター
- 3.1k
- フォーク
- 216
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## Bug Description
https://asciinema.org/a/CY6tOUVJpIOgCHPI
When I change the mode, either via shift-tab, or via `/plan`, my scroll position is set to below the chat window. I need to scroll back up to see the chat, but even then there are multiple chat windows.
## To Reproduce
1. Open a file in Neovim
2. Open Claude Code with `:ClaudeCode`
3. Type `/plan` into the chat window, hit enter
4. The scroll position is set below chat window
## Expected Behavior
I expect the scroll position to stay at the bottom of the chat, not below it.
## Environment
- Neovim version: v0.11.4
- Claude Code CLI version: 2.1.37
- OS: macOS 26.2
- Plugin version: v0.3.0
Setting `provider = "native"` fixes this.
## Additional Context
Whenever, I enter insert mode to type into the chatbox, the scroll position remains below the chatbox. This makes it impossible to see what I am typing or how Claude is responding.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
:ClaudeCode エントリポイントから始め、Shift-Tab、/plan、そして挿入モードへの切り替えによって発生するモード変更を追跡します。provider = "native" の場合の動作と比較します。完了条件は、ビューがチャットの最下部に留まり、チャットウィンドウが1つだけ表示され、入力したテキストと応答が表示されていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua, neovim
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100