@devries-cameron20 / t3code-1 / commits / a0ef9d8d95
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): editable file drag selection no longer breaks across virtualized scroll windows (#39574)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

SeongHoon Ryu committed Nov 20, 2026 at 19:50 UTC a0ef9d8d958ad7d7407dc830dff4d5646e19c90d
4 files changed +283 -18
apps/web/src/components/files/FilePreviewPanel.browser.test.tsx
+143 -1
@@ -3,7 +3,7 @@ import { EnvironmentId, ThreadId, type ProjectReadFileResult } from "@t3tools/co
3 import { AsyncResult } from "effect/reactivity";
4 import { StrictMode, type ReactNode } from "react";
5 import { describe, expect, it, vi } from "vite-plus/test";
6 -import { userEvent } from "vite-plus/test/browser";
6 +import { cdp, userEvent } from "vite-plus/test/browser";
7 import { act, fakeTimers, render } from "../../../test/render";
8 import appCss from "~/index.css?inline";
9 import { isMacPlatform } from "~/lib/utils";
@@ -366,6 +366,148 @@ describe("source file scroll", () => {
366 await vi.waitFor(() => expect(scroller()?.scrollTop).toBe(4200));
367 });
368
369 + it.each([
370 + {
371 + label: "keeps a downward drag whose anchor stays mounted across a window shift",
372 + startLine: 65,
373 + initialScrollLine: 65,
374 + direction: "down" as const,
375 + targetFirstMounted: 101,
376 + expectedIncludedLine: 121,
377 + },
378 + {
379 + label: "keeps a downward drag whose anchor unmounts on a window shift",
380 + startLine: 5,
381 + initialScrollLine: null,
382 + direction: "down" as const,
383 + targetFirstMounted: 101,
384 + expectedIncludedLine: 121,
385 + },
386 + {
387 + label: "keeps an upward drag whose anchor unmounts on a window shift",
388 + startLine: 385,
389 + initialScrollLine: 385,
390 + direction: "up" as const,
391 + targetFirstMounted: 201,
392 + expectedIncludedLine: 290,
393 + },
394 + ])(
395 + "$label",
396 + async ({
397 + startLine,
398 + initialScrollLine,
399 + direction,
400 + targetFirstMounted,
401 + expectedIncludedLine,
402 + }) => {
403 + using _settings = setup();
404 + localStorage.setItem("t3code.renderMarkdown", "false");
405 + const style = document.createElement("style");
406 + style.textContent = appCss;
407 + document.head.append(style);
408 + using _style = { [Symbol.dispose]: () => style.remove() };
409 + await preloadHighlighter({ themes: Object.values(DEFAULT_THEMES), langs: ["markdown"] });
410 +
411 + const lines = Array.from({ length: 400 }, (_, index) => `line ${index + 1} markdown content`);
412 + const contents = `${lines.join("\n")}\n`;
413 + state.file = {
414 + relativePath: "notes.md",
415 + contents,
416 + byteLength: contents.length,
417 + truncated: false,
418 + };
419 +
420 + await using screen = await render(
421 + <div style={{ width: 560, height: 400, display: "flex", flexDirection: "column" }}>
422 + {filePreview("notes.md")}
423 + </div>,
424 + );
425 +
426 + const shadowRoot = () => screen.container.querySelector("diffs-container")?.shadowRoot;
427 + const rows = () => shadowRoot()?.querySelectorAll<HTMLElement>("[data-line]") ?? [];
428 + await vi.waitFor(() =>
429 + expect(
430 + shadowRoot()?.querySelector('[data-content][contenteditable="true"]'),
431 + ).not.toBeNull(),
432 + );
433 +
434 + const scroller = screen.container.querySelector<HTMLElement>(".file-preview-virtualizer")!;
435 + if (initialScrollLine !== null) {
436 + if (direction === "up") {
437 + await vi.waitFor(() => expect(scroller.scrollHeight).toBeGreaterThan(5000));
438 + scroller.scrollTop = scroller.scrollHeight;
439 + await vi.waitFor(() =>
440 + expect(
441 + [...rows()].some((row) => row.getAttribute("data-line") === String(startLine)),
442 + ).toBe(true),
443 + );
444 + }
445 + const target = [...rows()].find(
446 + (row) => row.getAttribute("data-line") === String(initialScrollLine),
447 + );
448 + expect(target).toBeDefined();
449 + target!.scrollIntoView({ block: direction === "up" ? "end" : "start" });
450 + await vi.waitFor(() => expect(scroller.scrollTop).toBeGreaterThan(0));
451 + }
452 +
453 + const startRow = [...rows()].find(
454 + (row) => row.getAttribute("data-line") === String(startLine),
455 + );
456 + expect(startRow).toBeDefined();
457 + const startRect = startRow!.getBoundingClientRect();
458 + const scrollerRect = scroller.getBoundingClientRect();
459 + const nearEdgeY = direction === "down" ? scrollerRect.bottom - 5 : scrollerRect.top + 5;
460 + const outsideEdgeY = direction === "down" ? scrollerRect.bottom + 60 : scrollerRect.top - 60;
461 + const frame = window.frameElement?.getBoundingClientRect();
462 + const mouse = (type: "mousePressed" | "mouseMoved" | "mouseReleased", x: number, y: number) =>
463 + cdp().send("Input.dispatchMouseEvent", {
464 + type,
465 + x: x + (frame?.left ?? 0),
466 + y: y + (frame?.top ?? 0),
467 + button: "left",
468 + buttons: type === "mouseReleased" ? 0 : 1,
469 + clickCount: 1,
470 + });
471 +
472 + const startX = direction === "up" ? startRect.left + 140 : startRect.left + 2;
473 + // The editor records the drag anchor on the press's selectionchange; drag only after it.
474 + const anchored = new Promise((resolve) =>
475 + document.addEventListener("selectionchange", resolve, { once: true }),
476 + );
477 + await mouse("mousePressed", startX, startRect.top + 5);
478 + await anchored;
479 + await mouse("mouseMoved", startRect.left + 80, nearEdgeY);
480 + await mouse("mouseMoved", startRect.left + 80, outsideEdgeY);
481 + await vi.waitFor(() => {
482 + const firstMounted = Number(rows()[0]?.getAttribute("data-line"));
483 + if (direction === "down") {
484 + expect(firstMounted).toBeGreaterThanOrEqual(targetFirstMounted);
485 + } else {
486 + expect(firstMounted).toBeLessThanOrEqual(targetFirstMounted);
487 + }
488 + });
489 + await mouse("mouseReleased", startRect.left + 80, outsideEdgeY);
490 +
491 + const overlayRanges = shadowRoot()!.querySelectorAll("[data-selection-range]");
492 + expect(overlayRanges.length).toBeGreaterThan(0);
493 +
494 + const clipboardData = new DataTransfer();
495 + const contentEl = shadowRoot()!.querySelector("[data-content]")!;
496 + const handled = !contentEl.dispatchEvent(
497 + new ClipboardEvent("copy", {
498 + clipboardData,
499 + bubbles: true,
500 + cancelable: true,
501 + composed: true,
502 + }),
503 + );
504 + expect(handled).toBe(true);
505 + const copied = clipboardData.getData("text/plain");
506 + expect(copied).toContain(`line ${startLine} `);
507 + expect(copied).toContain(`line ${expectedIncludedLine} markdown content`);
508 + },
509 + );
510 +
511 it("scrolls a find match below many wrapped lines into view", async () => {
512 using _settings = setup();
513 const style = document.createElement("style");
patches/@pierre__diffs@1.7.0-beta.4.patch
+133 -11
@@ -1,5 +1,5 @@
1 diff --git a/dist/editor/editor.js b/dist/editor/editor.js
2 -index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833cb466a03 100644
2 +index b4c280390b52434f63fbe7916d81b150d9006fb4..8f6df87aa893fe413811b95f7b7d2ab7ea515750 100644
3 --- a/dist/editor/editor.js
4 +++ b/dist/editor/editor.js
5 @@ -95,6 +95,8 @@ var Editor = class {
@@ -11,7 +11,15 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
11 #caretElements;
12 #caretHighlightElements;
13 #primaryCaretElement;
14 -@@ -536,6 +538,7 @@ var Editor = class {
14 +@@ -125,6 +127,7 @@ var Editor = class {
15 + #altColumnDrag;
16 + #shiftKeyPressed = false;
17 + #selectionStart;
18 ++ #dragAnchorUnmounted = false;
19 + #deletedSelectionText = "";
20 + #reservedSelections;
21 + #initSelections;
22 +@@ -536,6 +539,7 @@ var Editor = class {
23 const fileInstance = this.#fileInstance;
24 const recycle = reason === "recycle";
25 this.#virtualizedInstance?.cancelScroll(this.#handleCaretRevealDone);
@@ -19,7 +27,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
27 this.#cancelEditPrediction(true, false);
28 if (!recycle) this.#editPredictionHistory = [];
29 const editSession = this.#editSession;
22 -@@ -584,6 +587,7 @@ var Editor = class {
30 +@@ -584,6 +588,7 @@ var Editor = class {
31 this.#contentHasFocus = false;
32 this.#overlayElement?.remove();
33 this.#overlayElement = void 0;
@@ -27,7 +35,26 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
35 this.#resizeObserver?.disconnect();
36 this.#resizeObserver = void 0;
37 this.#fontRemeasureScheduled = false;
30 -@@ -1022,6 +1026,19 @@ var Editor = class {
38 +@@ -657,6 +662,7 @@ var Editor = class {
39 + }
40 + /** @internal */
41 + __captureFocusForDOMReplacement() {
42 ++ if (this.#isContentMouseDown) return;
43 + const contentElement = this.#contentElement;
44 + const shadowActiveElement = this.#fileContainer?.shadowRoot?.activeElement;
45 + if (contentElement != null && (this.#contentHasFocus || shadowActiveElement === contentElement || shadowActiveElement != null && contentElement.contains(shadowActiveElement))) {
46 +@@ -839,7 +845,9 @@ var Editor = class {
47 + this.#initSelections = void 0;
48 + this.#scrollToPrimaryCaret(false, "center");
49 + } else if (this.#scrollingToLine !== void 0) this.#scrollToLine(this.#scrollingToLine, this.#scrollingToLineChar, this.#scrollingToLineNoFocus);
50 +- else if (this.#focusRequest?.restore != null) this.#restoreReplacementFocus();
51 ++ else if (this.#isContentMouseDown) {
52 ++ if (this.#focusRequest?.restore != null) this.#cancelFocusRequest();
53 ++ } else if (this.#focusRequest?.restore != null) this.#restoreReplacementFocus();
54 + else if (this.#selections !== void 0 && this.#selections.length > 0 && this.#contentHasFocus && !this.#retainSearchPanelFocus) this.focus({ preventScroll: true });
55 + if (this.#retainSearchPanelFocus) this.#searchPanel?.focus();
56 + if (restoreEditorStateOnSync) {
57 +@@ -1022,6 +1030,19 @@ var Editor = class {
58 this.#tokenizer?.applyStyle();
59 this.#spriteElement = createSpriteElement();
60 this.#overlayElement = h("div", { dataset: "editorOverlay" });
@@ -47,7 +74,79 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
74 const replacementFocusTargetIsContent = (event) => {
75 const target = event.composedPath()[0];
76 return target instanceof Node && this.#contentElement?.contains(target) === true;
50 -@@ -1130,6 +1147,7 @@ var Editor = class {
77 +@@ -1061,15 +1082,17 @@ var Editor = class {
78 + if (this.#selections !== void 0 && this.#selections.length > 1 && !this.#isContentMouseDown) return;
79 + const composedRange = getComposedSelectionRange(shadowRoot);
80 + if (composedRange === void 0 || !this.#rangeBelongsToEditor(composedRange)) return;
81 +- const selection = convertSelection(composedRange, 0);
82 ++ let selection = convertSelection(composedRange, 0);
83 ++ if (this.#isContentMouseDown && !this.#shiftKeyPressed && this.#selectionStart !== void 0) selection = this.#resolveMouseDragSelection(composedRange, selection);
84 + if (selection === void 0) return;
85 + if (this.#isContentMouseDown && this.#shiftKeyPressed && this.#selections !== void 0 && this.#selections.length > 0) {
86 + const primarySelection = this.#selections.at(-1);
87 + this.#updateSelections([extendSelection(primarySelection, selection)]);
88 + return;
89 + }
90 +- if (this.#selectionStart !== void 0) selection.direction = createSelectionFrom(this.#selectionStart, selection).direction;
91 +- else if (this.#isContentMouseDown) this.#selectionStart = selection;
92 ++ if (this.#selectionStart !== void 0) {
93 ++ if (!this.#dragAnchorUnmounted) selection.direction = createSelectionFrom(this.#selectionStart, selection).direction;
94 ++ } else if (this.#isContentMouseDown) this.#selectionStart = selection;
95 + else if (this.#selections !== void 0 && this.#selections.length === 1) {
96 + const previous = this.#selections[0];
97 + if (comparePosition(previous.start, selection.start) === 0 && comparePosition(previous.end, selection.end) === 0) selection.direction = previous.direction;
98 +@@ -1104,8 +1127,50 @@ var Editor = class {
99 + this.#altColumnDrag = void 0;
100 + this.#shiftKeyPressed = false;
101 + this.#selectionStart = void 0;
102 ++ this.#dragAnchorUnmounted = false;
103 + this.#reservedSelections = void 0;
104 + }
105 ++ #resolveMouseDragSelection(composedRange, selection) {
106 ++ const selectionStart = this.#selectionStart;
107 ++ if (selectionStart === void 0) return selection;
108 ++ const renderRange = this.#renderRange;
109 ++ if (renderRange !== void 0 && (selectionStart.start.line < renderRange.startingLine || selectionStart.end.line >= renderRange.startingLine + renderRange.totalLines)) this.#dragAnchorUnmounted = true;
110 ++ if (!this.#dragAnchorUnmounted) return selection;
111 ++ let focus;
112 ++ if (selection !== void 0) {
113 ++ const direction = window.getSelection()?.direction;
114 ++ if (direction === "backward") focus = selection.start;
115 ++ else if (direction === "forward") focus = selection.end;
116 ++ else focus = renderRange !== void 0 && selectionStart.end.line >= renderRange.startingLine + renderRange.totalLines ? selection.start : selection.end;
117 ++ } else {
118 ++ const startPos = convertSelection({
119 ++ startContainer: composedRange.startContainer,
120 ++ startOffset: composedRange.startOffset,
121 ++ endContainer: composedRange.startContainer,
122 ++ endOffset: composedRange.startOffset
123 ++ }, 0)?.start;
124 ++ const endPos = convertSelection({
125 ++ startContainer: composedRange.endContainer,
126 ++ startOffset: composedRange.endOffset,
127 ++ endContainer: composedRange.endContainer,
128 ++ endOffset: composedRange.endOffset
129 ++ }, 0)?.end;
130 ++ if (startPos !== void 0 && endPos === void 0) focus = startPos;
131 ++ else if (endPos !== void 0 && startPos === void 0) focus = endPos;
132 ++ else return;
133 ++ }
134 ++ if (comparePosition(focus, selectionStart.start) < 0) return {
135 ++ start: focus,
136 ++ end: selectionStart.end,
137 ++ direction: -1
138 ++ };
139 ++ if (comparePosition(focus, selectionStart.end) > 0) return {
140 ++ start: selectionStart.start,
141 ++ end: focus,
142 ++ direction: 1
143 ++ };
144 ++ return { ...selectionStart };
145 ++ }
146 + #replaceSelectEventListeners(disposes) {
147 + this.#selectEventDisposes?.forEach((dispose) => dispose());
148 + this.#selectEventDisposes = disposes;
149 +@@ -1130,6 +1195,7 @@ var Editor = class {
150 this.#editorEventDisposes = [
151 addEventListener(contentEl, "focus", () => {
152 this.#contentHasFocus = true;
@@ -55,7 +154,15 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
154 onFocus?.();
155 if (!this.#isContentMouseDown && !this.#isComposing && this.#focusRequest == null && this.#selections !== void 0 && this.#selections.length > 0) this.#setWindowSelection(this.#selections.at(-1));
156 }, { passive: true }),
58 -@@ -1397,6 +1415,7 @@ var Editor = class {
157 +@@ -1163,6 +1229,7 @@ var Editor = class {
158 + this.#isContentMouseDown = true;
159 + const isAltColumnDrag = e.button === 0 && e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey;
160 + this.#selectionStart = void 0;
161 ++ this.#dragAnchorUnmounted = false;
162 + if (isAltColumnDrag) {
163 + this.#altColumnDrag = {
164 + pointerId: e.pointerId,
165 +@@ -1397,6 +1464,7 @@ var Editor = class {
166 this.#resizeObserver = new ResizeObserver(this.#handleLayoutResize);
167 this.#resizeObserver.observe(contentEl);
168 this.#resizeObserver.observe(contentEl.parentElement);
@@ -63,7 +170,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
170 this.#computeContentOffset(contentEl);
171 }
172 #handleCustomPasteEvent = async () => {
66 -@@ -1852,7 +1871,9 @@ var Editor = class {
173 +@@ -1852,7 +1920,9 @@ var Editor = class {
174 const change = textDocument.applyEdits(edits, true, selections, nextSelections, true);
175 if (change !== void 0) this.#applyChange(change, nextSelections);
176 }
@@ -74,7 +181,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
181 const lineAnnotations = this.#lineAnnotations?.length ?? 0;
182 const prevGutterWidth = this.#gutterWidthCache;
183 const prevContentWidth = this.#contentWidthCache;
77 -@@ -1860,12 +1881,12 @@ var Editor = class {
184 +@@ -1860,12 +1930,12 @@ var Editor = class {
185 this.#contentWidthCache = void 0;
186 const gutterWidthChanged = this.#getGutterWidth() !== prevGutterWidth;
187 const contentWidthChanged = this.#getContentWidth() !== prevContentWidth;
@@ -90,7 +197,22 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
197 }
198 if (this.#selections !== void 0 || this.#matches !== void 0 || this.#markerRenderer !== void 0) {
199 this.#updateSelections(this.#selections ?? []);
93 -@@ -2123,6 +2144,16 @@ var Editor = class {
200 +@@ -2013,7 +2083,13 @@ var Editor = class {
201 + return;
202 + }
203 + const primaryPosition = primarySelection.direction === -1 ? primarySelection.end : primarySelection.start;
204 +- if (this.#getLineElement(primaryPosition.line) == null) return;
205 ++ if (this.#getLineElement(primaryPosition.line) == null) {
206 ++ const request = { restore: void 0 };
207 ++ this.#cancelFocusRequest();
208 ++ this.#focusRequest = request;
209 ++ queueRender(() => this.#releaseFocusRequest(request));
210 ++ return;
211 ++ }
212 + this.#focus(primaryPosition, true, restore);
213 + }
214 + #replacementFocusIsAvailable(contentElement) {
215 +@@ -2123,6 +2199,16 @@ var Editor = class {
216 this.#scrollCaretIntoView(line, character, "nearest");
217 }
218 };
@@ -107,7 +229,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
229 #focusAt(position) {
230 if (this.#focusRequest?.restore != null) this.#restoreReplacementFocus(position);
231 else this.#focus(position);
110 -@@ -2145,6 +2176,19 @@ var Editor = class {
232 +@@ -2145,6 +2231,19 @@ var Editor = class {
233 this.#scrollingToLineNoFocus = false;
234 return;
235 }
@@ -127,7 +249,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
249 let yFix = 0;
250 if (this.#scrollingToLine === line && this.#contentElement !== void 0) for (let i = this.#contentElement.childElementCount - 1; i >= 0; i--) {
251 const child = this.#contentElement.children[i];
130 -@@ -3370,6 +3414,7 @@ var Editor = class {
252 +@@ -3370,6 +3469,7 @@ var Editor = class {
253 this.#searchPanel = searchPanel;
254 this.#retainSearchPanelFocus = false;
255 searchPanel.mount();
pnpm-lock.yaml
+5 -5
@@ -371,7 +371,7 @@ patchedDependencies:
371 '@expo/ui@58.0.27': 9f2547678939f4ec78fe45163b6455aad63d3c80353d7e0cc783f6a61a7ccc2f
372 '@ff-labs/fff-node@0.11.0': 93f62a76399b435a76588b2bef237db0a1e85880c1ac0d0759c416e9cc579252
373 '@muse-code/sdk@1.4.6': 7b495b607fc5d76b444c7c4d58821e839726a30e6f3c53564f0d59f2d5b42101
374 - '@pierre/diffs@1.7.0-beta.4': b5d99ba050d8ccce3bd4018c2c21b7be2be3cb9bcc0d1f5ca76c481a9240b8c7
374 + '@pierre/diffs@1.7.0-beta.4': a0c908c189c18b157a75adde780300616409204a24e97fd877254a2416e069af
375 '@react-native-ai/apple@0.12.0': 2d09870c2848d185cb05b53ed823a46e12dba519324d8dd8e584e28731990f9d
376 '@react-native-menu/menu@2.0.0': 6872ba71b9847c5a0210b1b896923dadc3860faedfe28d9f062bcedfe786ef1d
377 '@react-navigation/native-stack@7.21.0': 990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42
@@ -581,7 +581,7 @@ importers:
581 version: 0.3.0
582 '@pierre/diffs':
583 specifier: 1.7.0-beta.4
584 - version: 1.7.0-beta.4(patch_hash=b5d99ba050d8ccce3bd4018c2c21b7be2be3cb9bcc0d1f5ca76c481a9240b8c7)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
584 + version: 1.7.0-beta.4(patch_hash=a0c908c189c18b157a75adde780300616409204a24e97fd877254a2416e069af)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
585 '@pierre/highlights':
586 specifier: 'catalog:'
587 version: 0.5.0
@@ -1105,7 +1105,7 @@ importers:
1105 version: 1.8.0
1106 '@pierre/diffs':
1107 specifier: 1.7.0-beta.4
1108 - version: 1.7.0-beta.4(patch_hash=b5d99ba050d8ccce3bd4018c2c21b7be2be3cb9bcc0d1f5ca76c481a9240b8c7)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
1108 + version: 1.7.0-beta.4(patch_hash=a0c908c189c18b157a75adde780300616409204a24e97fd877254a2416e069af)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
1109 '@pierre/trees':
1110 specifier: 1.0.0-beta.6
1111 version: 1.0.0-beta.6(@pierre/theme@2.0.0)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(shiki@4.2.0)
@@ -1521,7 +1521,7 @@ importers:
1521 dependencies:
1522 '@pierre/diffs':
1523 specifier: 1.7.0-beta.4
1524 - version: 1.7.0-beta.4(patch_hash=b5d99ba050d8ccce3bd4018c2c21b7be2be3cb9bcc0d1f5ca76c481a9240b8c7)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
1524 + version: 1.7.0-beta.4(patch_hash=a0c908c189c18b157a75adde780300616409204a24e97fd877254a2416e069af)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
1525 '@t3tools/contracts':
1526 specifier: workspace:*
1527 version: link:../contracts
@@ -16497,7 +16497,7 @@ snapshots:
16497 tslib: 2.8.1
16498 webcrypto-core: 1.9.2
16499
16500 - '@pierre/diffs@1.7.0-beta.4(patch_hash=b5d99ba050d8ccce3bd4018c2c21b7be2be3cb9bcc0d1f5ca76c481a9240b8c7)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)':
16500 + '@pierre/diffs@1.7.0-beta.4(patch_hash=a0c908c189c18b157a75adde780300616409204a24e97fd877254a2416e069af)(@shikijs/themes@4.2.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)':
16501 dependencies:
16502 '@pierre/highlights': 0.5.1
16503 '@pierre/patches': 0.0.1
pnpm-workspace.yaml
+2 -1
@@ -249,7 +249,8 @@ patchedDependencies:
249 "@expo/ui@58.0.27": patches/@expo__ui@58.0.27.patch
250 "@ff-labs/fff-node@0.11.0": patches/@ff-labs__fff-node@0.11.0.patch
251 # Exports the dependency-light subpaths mobile and the web diff parser import, re-measures
252 - # editor carets when the code font changes, and stops the find bar reclaiming focus from the file.
252 + # editor carets when the code font changes, stops the find bar reclaiming focus from the file,
253 + # and keeps drag selections intact across virtualized scroll renders.
254 "@pierre/diffs@1.7.0-beta.4": patches/@pierre__diffs@1.7.0-beta.4.patch
255 "@react-native-ai/apple@0.12.0": patches/@react-native-ai__apple@0.12.0.patch
256 "@react-native-menu/menu@2.0.0": patches/@react-native-menu__menu@2.0.0.patch