[BUG] Changing mode sets scroll position below chat window
- Vorherrschende Sprache
- Lua
- Sterne
- 3.1k
- Forks
- 216
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## 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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne am :ClaudeCode-Einstiegspunkt und verfolge die Modusänderungen, die durch Shift-Tab, /plan und das Wechseln in den Einfügemodus ausgelöst werden. Vergleiche das Verhalten mit provider = "native". Als erledigt gilt die Aufgabe, wenn die Ansicht am unteren Ende des Chats bleibt und ein sichtbares Chatfenster sowie eingegebener Text und Antworten zu sehen sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua, neovim
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100