diff --git a/apps/desktop/src/components/grid/__tests__/DataGridScrollbarPositioning.spec.ts b/apps/desktop/src/components/grid/__tests__/DataGridScrollbarPositioning.spec.ts
new file mode 100644
index 0000000000..b560b96ce2
--- /dev/null
+++ b/apps/desktop/src/components/grid/__tests__/DataGridScrollbarPositioning.spec.ts
@@ -0,0 +1,35 @@
+import { readFileSync } from "node:fs";
+import { describe, expect, it } from "vitest";
+
+// Fixes #10095: the vertical/horizontal scrollbar overlays are absolutely
+// positioned relative to the nearest ancestor with `position: relative`.
+// Before this fix that ancestor was the grid's *outer* wrapper, which starts
+// at the sticky column-header row — so `top: 10px` on the vertical scrollbar
+// (and the horizontal scrollbar's `bottom: 0`) were measured from the header,
+// landing the scrollbar visually on top of the header instead of below it.
+const dataGridSource = readFileSync(new URL("../DataGrid.vue", import.meta.url), "utf8");
+
+describe("DataGrid scrollbar positioning", () => {
+ it("wraps the header-less scroll body in its own relative stacking context", () => {
+ const headerEnd = dataGridSource.indexOf('\n
', headerEnd);
+ expect(wrapperStart).toBeGreaterThan(headerEnd);
+
+ // The vertical scrollbar (and its horizontal sibling) must be inside the
+ // new wrapper, not siblings of the header at the outer level. Anchor on
+ // the "Table Info Drawer" comment that follows the wrapper's own closing
+ // tags — an inner RecycleScroller slot's `` closes earlier and
+ // is not a safe upper bound.
+ const verticalScrollbarIndex = dataGridSource.indexOf('ref="gridVerticalScrollbarTrackRef"', wrapperStart);
+ const drawerCommentIndex = dataGridSource.indexOf("", wrapperStart);
+ expect(verticalScrollbarIndex).toBeGreaterThan(wrapperStart);
+ expect(verticalScrollbarIndex).toBeLessThan(drawerCommentIndex);
+ });
+
+ it("closes the wrapper before the sticky-header template ends, leaving markup balanced", () => {
+ const wrapperOpenCount = (dataGridSource.match(/