diff --git a/.changeset/forty-spiders-repair.md b/.changeset/forty-spiders-repair.md new file mode 100644 index 00000000..c7dbb384 --- /dev/null +++ b/.changeset/forty-spiders-repair.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Disable breaking out of diff auto scroll while it's reworked diff --git a/src/integrations/editor/DiffViewProvider.ts b/src/integrations/editor/DiffViewProvider.ts index 4f9f967e..674b6468 100644 --- a/src/integrations/editor/DiffViewProvider.ts +++ b/src/integrations/editor/DiffViewProvider.ts @@ -91,9 +91,9 @@ export class DiffViewProvider { const currentFirstVisibleLine = e.visibleRanges[0]?.start.line || 0 // If the first visible line moved upward, user scrolled up - if (currentFirstVisibleLine < this.lastFirstVisibleLine) { - this.shouldAutoScroll = false - } + // if (currentFirstVisibleLine < this.lastFirstVisibleLine) { + // this.shouldAutoScroll = false + // } // Always update our tracking variable this.lastFirstVisibleLine = currentFirstVisibleLine