Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(agentic-ide): one scrollbar in the diff view

rubenluetke10-beep2df40b4e448f
diff --git a/jarvis/ui/web/frontend/src/components/agentic/editor/EditorSurface.tsx b/jarvis/ui/web/frontend/src/components/agentic/editor/EditorSurface.tsx
index 36121575f1..df30c2eba2 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/editor/EditorSurface.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/editor/EditorSurface.tsx
@@ -184,6 +184,10 @@ export default function EditorSurface({
// rows, so the two sides stop lining up and a fast scroll leaves a
// stale header lying on the text.
stickyScroll: { enabled: false },
+ // Both halves scroll together, so the diff overview on the far
+ // right is the one scrollbar (drag and wheel go to the modified
+ // side). Each half's own bar would draw a second and third copy.
+ scrollbar: { ...EDITOR_OPTIONS.scrollbar, vertical: "hidden", verticalScrollbarSize: 0 },
originalEditable: false,
renderSideBySide: true,
useInlineViewWhenSpaceIsLimited: true,