diff --git a/apps/web/src/components/files/FilePreviewPanel.browser.test.tsx b/apps/web/src/components/files/FilePreviewPanel.browser.test.tsx
index 147489b933440..714e45bac76fb 100644
--- a/apps/web/src/components/files/FilePreviewPanel.browser.test.tsx
+++ b/apps/web/src/components/files/FilePreviewPanel.browser.test.tsx
@@ -3,7 +3,7 @@ import { EnvironmentId, ThreadId, type ProjectReadFileResult } from "@t3tools/co
import { AsyncResult } from "effect/reactivity";
import { StrictMode, type ReactNode } from "react";
import { describe, expect, it, vi } from "vite-plus/test";
-import { userEvent } from "vite-plus/test/browser";
+import { cdp, userEvent } from "vite-plus/test/browser";
import { act, fakeTimers, render } from "../../../test/render";
import appCss from "~/index.css?inline";
import { isMacPlatform } from "~/lib/utils";
@@ -366,6 +366,148 @@ describe("source file scroll", () => {
await vi.waitFor(() => expect(scroller()?.scrollTop).toBe(4200));
});
+ it.each([
+ {
+ label: "keeps a downward drag whose anchor stays mounted across a window shift",
+ startLine: 65,
+ initialScrollLine: 65,
+ direction: "down" as const,
+ targetFirstMounted: 101,
+ expectedIncludedLine: 121,
+ },
+ {
+ label: "keeps a downward drag whose anchor unmounts on a window shift",
+ startLine: 5,
+ initialScrollLine: null,
+ direction: "down" as const,
+ targetFirstMounted: 101,
+ expectedIncludedLine: 121,
+ },
+ {
+ label: "keeps an upward drag whose anchor unmounts on a window shift",
+ startLine: 385,
+ initialScrollLine: 385,
+ direction: "up" as const,
+ targetFirstMounted: 201,
+ expectedIncludedLine: 290,
+ },
+ ])(
+ "$label",
+ async ({
+ startLine,
+ initialScrollLine,
+ direction,
+ targetFirstMounted,
+ expectedIncludedLine,
+ }) => {
+ using _settings = setup();
+ localStorage.setItem("t3code.renderMarkdown", "false");
+ const style = document.createElement("style");
+ style.textContent = appCss;
+ document.head.append(style);
+ using _style = { [Symbol.dispose]: () => style.remove() };
+ await preloadHighlighter({ themes: Object.values(DEFAULT_THEMES), langs: ["markdown"] });
+
+ const lines = Array.from({ length: 400 }, (_, index) => `line ${index + 1} markdown content`);
+ const contents = `${lines.join("\n")}\n`;
+ state.file = {
+ relativePath: "notes.md",
+ contents,
+ byteLength: contents.length,
+ truncated: false,
+ };
+
+ await using screen = await render(
+
+ {filePreview("notes.md")}
+
,
+ );
+
+ const shadowRoot = () => screen.container.querySelector("diffs-container")?.shadowRoot;
+ const rows = () => shadowRoot()?.querySelectorAll("[data-line]") ?? [];
+ await vi.waitFor(() =>
+ expect(
+ shadowRoot()?.querySelector('[data-content][contenteditable="true"]'),
+ ).not.toBeNull(),
+ );
+
+ const scroller = screen.container.querySelector(".file-preview-virtualizer")!;
+ if (initialScrollLine !== null) {
+ if (direction === "up") {
+ await vi.waitFor(() => expect(scroller.scrollHeight).toBeGreaterThan(5000));
+ scroller.scrollTop = scroller.scrollHeight;
+ await vi.waitFor(() =>
+ expect(
+ [...rows()].some((row) => row.getAttribute("data-line") === String(startLine)),
+ ).toBe(true),
+ );
+ }
+ const target = [...rows()].find(
+ (row) => row.getAttribute("data-line") === String(initialScrollLine),
+ );
+ expect(target).toBeDefined();
+ target!.scrollIntoView({ block: direction === "up" ? "end" : "start" });
+ await vi.waitFor(() => expect(scroller.scrollTop).toBeGreaterThan(0));
+ }
+
+ const startRow = [...rows()].find(
+ (row) => row.getAttribute("data-line") === String(startLine),
+ );
+ expect(startRow).toBeDefined();
+ const startRect = startRow!.getBoundingClientRect();
+ const scrollerRect = scroller.getBoundingClientRect();
+ const nearEdgeY = direction === "down" ? scrollerRect.bottom - 5 : scrollerRect.top + 5;
+ const outsideEdgeY = direction === "down" ? scrollerRect.bottom + 60 : scrollerRect.top - 60;
+ const frame = window.frameElement?.getBoundingClientRect();
+ const mouse = (type: "mousePressed" | "mouseMoved" | "mouseReleased", x: number, y: number) =>
+ cdp().send("Input.dispatchMouseEvent", {
+ type,
+ x: x + (frame?.left ?? 0),
+ y: y + (frame?.top ?? 0),
+ button: "left",
+ buttons: type === "mouseReleased" ? 0 : 1,
+ clickCount: 1,
+ });
+
+ const startX = direction === "up" ? startRect.left + 140 : startRect.left + 2;
+ // The editor records the drag anchor on the press's selectionchange; drag only after it.
+ const anchored = new Promise((resolve) =>
+ document.addEventListener("selectionchange", resolve, { once: true }),
+ );
+ await mouse("mousePressed", startX, startRect.top + 5);
+ await anchored;
+ await mouse("mouseMoved", startRect.left + 80, nearEdgeY);
+ await mouse("mouseMoved", startRect.left + 80, outsideEdgeY);
+ await vi.waitFor(() => {
+ const firstMounted = Number(rows()[0]?.getAttribute("data-line"));
+ if (direction === "down") {
+ expect(firstMounted).toBeGreaterThanOrEqual(targetFirstMounted);
+ } else {
+ expect(firstMounted).toBeLessThanOrEqual(targetFirstMounted);
+ }
+ });
+ await mouse("mouseReleased", startRect.left + 80, outsideEdgeY);
+
+ const overlayRanges = shadowRoot()!.querySelectorAll("[data-selection-range]");
+ expect(overlayRanges.length).toBeGreaterThan(0);
+
+ const clipboardData = new DataTransfer();
+ const contentEl = shadowRoot()!.querySelector("[data-content]")!;
+ const handled = !contentEl.dispatchEvent(
+ new ClipboardEvent("copy", {
+ clipboardData,
+ bubbles: true,
+ cancelable: true,
+ composed: true,
+ }),
+ );
+ expect(handled).toBe(true);
+ const copied = clipboardData.getData("text/plain");
+ expect(copied).toContain(`line ${startLine} `);
+ expect(copied).toContain(`line ${expectedIncludedLine} markdown content`);
+ },
+ );
+
it("scrolls a find match below many wrapped lines into view", async () => {
using _settings = setup();
const style = document.createElement("style");
diff --git a/patches/@pierre__diffs@1.7.0-beta.4.patch b/patches/@pierre__diffs@1.7.0-beta.4.patch
index 3f2a5ac9726e4..389232ea9f532 100644
--- a/patches/@pierre__diffs@1.7.0-beta.4.patch
+++ b/patches/@pierre__diffs@1.7.0-beta.4.patch
@@ -1,5 +1,5 @@
diff --git a/dist/editor/editor.js b/dist/editor/editor.js
-index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833cb466a03 100644
+index b4c280390b52434f63fbe7916d81b150d9006fb4..8f6df87aa893fe413811b95f7b7d2ab7ea515750 100644
--- a/dist/editor/editor.js
+++ b/dist/editor/editor.js
@@ -95,6 +95,8 @@ var Editor = class {
@@ -11,7 +11,15 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
#caretElements;
#caretHighlightElements;
#primaryCaretElement;
-@@ -536,6 +538,7 @@ var Editor = class {
+@@ -125,6 +127,7 @@ var Editor = class {
+ #altColumnDrag;
+ #shiftKeyPressed = false;
+ #selectionStart;
++ #dragAnchorUnmounted = false;
+ #deletedSelectionText = "";
+ #reservedSelections;
+ #initSelections;
+@@ -536,6 +539,7 @@ var Editor = class {
const fileInstance = this.#fileInstance;
const recycle = reason === "recycle";
this.#virtualizedInstance?.cancelScroll(this.#handleCaretRevealDone);
@@ -19,7 +27,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
this.#cancelEditPrediction(true, false);
if (!recycle) this.#editPredictionHistory = [];
const editSession = this.#editSession;
-@@ -584,6 +587,7 @@ var Editor = class {
+@@ -584,6 +588,7 @@ var Editor = class {
this.#contentHasFocus = false;
this.#overlayElement?.remove();
this.#overlayElement = void 0;
@@ -27,7 +35,26 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
this.#resizeObserver?.disconnect();
this.#resizeObserver = void 0;
this.#fontRemeasureScheduled = false;
-@@ -1022,6 +1026,19 @@ var Editor = class {
+@@ -657,6 +662,7 @@ var Editor = class {
+ }
+ /** @internal */
+ __captureFocusForDOMReplacement() {
++ if (this.#isContentMouseDown) return;
+ const contentElement = this.#contentElement;
+ const shadowActiveElement = this.#fileContainer?.shadowRoot?.activeElement;
+ if (contentElement != null && (this.#contentHasFocus || shadowActiveElement === contentElement || shadowActiveElement != null && contentElement.contains(shadowActiveElement))) {
+@@ -839,7 +845,9 @@ var Editor = class {
+ this.#initSelections = void 0;
+ this.#scrollToPrimaryCaret(false, "center");
+ } else if (this.#scrollingToLine !== void 0) this.#scrollToLine(this.#scrollingToLine, this.#scrollingToLineChar, this.#scrollingToLineNoFocus);
+- else if (this.#focusRequest?.restore != null) this.#restoreReplacementFocus();
++ else if (this.#isContentMouseDown) {
++ if (this.#focusRequest?.restore != null) this.#cancelFocusRequest();
++ } else if (this.#focusRequest?.restore != null) this.#restoreReplacementFocus();
+ else if (this.#selections !== void 0 && this.#selections.length > 0 && this.#contentHasFocus && !this.#retainSearchPanelFocus) this.focus({ preventScroll: true });
+ if (this.#retainSearchPanelFocus) this.#searchPanel?.focus();
+ if (restoreEditorStateOnSync) {
+@@ -1022,6 +1030,19 @@ var Editor = class {
this.#tokenizer?.applyStyle();
this.#spriteElement = createSpriteElement();
this.#overlayElement = h("div", { dataset: "editorOverlay" });
@@ -47,7 +74,79 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
const replacementFocusTargetIsContent = (event) => {
const target = event.composedPath()[0];
return target instanceof Node && this.#contentElement?.contains(target) === true;
-@@ -1130,6 +1147,7 @@ var Editor = class {
+@@ -1061,15 +1082,17 @@ var Editor = class {
+ if (this.#selections !== void 0 && this.#selections.length > 1 && !this.#isContentMouseDown) return;
+ const composedRange = getComposedSelectionRange(shadowRoot);
+ if (composedRange === void 0 || !this.#rangeBelongsToEditor(composedRange)) return;
+- const selection = convertSelection(composedRange, 0);
++ let selection = convertSelection(composedRange, 0);
++ if (this.#isContentMouseDown && !this.#shiftKeyPressed && this.#selectionStart !== void 0) selection = this.#resolveMouseDragSelection(composedRange, selection);
+ if (selection === void 0) return;
+ if (this.#isContentMouseDown && this.#shiftKeyPressed && this.#selections !== void 0 && this.#selections.length > 0) {
+ const primarySelection = this.#selections.at(-1);
+ this.#updateSelections([extendSelection(primarySelection, selection)]);
+ return;
+ }
+- if (this.#selectionStart !== void 0) selection.direction = createSelectionFrom(this.#selectionStart, selection).direction;
+- else if (this.#isContentMouseDown) this.#selectionStart = selection;
++ if (this.#selectionStart !== void 0) {
++ if (!this.#dragAnchorUnmounted) selection.direction = createSelectionFrom(this.#selectionStart, selection).direction;
++ } else if (this.#isContentMouseDown) this.#selectionStart = selection;
+ else if (this.#selections !== void 0 && this.#selections.length === 1) {
+ const previous = this.#selections[0];
+ if (comparePosition(previous.start, selection.start) === 0 && comparePosition(previous.end, selection.end) === 0) selection.direction = previous.direction;
+@@ -1104,8 +1127,50 @@ var Editor = class {
+ this.#altColumnDrag = void 0;
+ this.#shiftKeyPressed = false;
+ this.#selectionStart = void 0;
++ this.#dragAnchorUnmounted = false;
+ this.#reservedSelections = void 0;
+ }
++ #resolveMouseDragSelection(composedRange, selection) {
++ const selectionStart = this.#selectionStart;
++ if (selectionStart === void 0) return selection;
++ const renderRange = this.#renderRange;
++ if (renderRange !== void 0 && (selectionStart.start.line < renderRange.startingLine || selectionStart.end.line >= renderRange.startingLine + renderRange.totalLines)) this.#dragAnchorUnmounted = true;
++ if (!this.#dragAnchorUnmounted) return selection;
++ let focus;
++ if (selection !== void 0) {
++ const direction = window.getSelection()?.direction;
++ if (direction === "backward") focus = selection.start;
++ else if (direction === "forward") focus = selection.end;
++ else focus = renderRange !== void 0 && selectionStart.end.line >= renderRange.startingLine + renderRange.totalLines ? selection.start : selection.end;
++ } else {
++ const startPos = convertSelection({
++ startContainer: composedRange.startContainer,
++ startOffset: composedRange.startOffset,
++ endContainer: composedRange.startContainer,
++ endOffset: composedRange.startOffset
++ }, 0)?.start;
++ const endPos = convertSelection({
++ startContainer: composedRange.endContainer,
++ startOffset: composedRange.endOffset,
++ endContainer: composedRange.endContainer,
++ endOffset: composedRange.endOffset
++ }, 0)?.end;
++ if (startPos !== void 0 && endPos === void 0) focus = startPos;
++ else if (endPos !== void 0 && startPos === void 0) focus = endPos;
++ else return;
++ }
++ if (comparePosition(focus, selectionStart.start) < 0) return {
++ start: focus,
++ end: selectionStart.end,
++ direction: -1
++ };
++ if (comparePosition(focus, selectionStart.end) > 0) return {
++ start: selectionStart.start,
++ end: focus,
++ direction: 1
++ };
++ return { ...selectionStart };
++ }
+ #replaceSelectEventListeners(disposes) {
+ this.#selectEventDisposes?.forEach((dispose) => dispose());
+ this.#selectEventDisposes = disposes;
+@@ -1130,6 +1195,7 @@ var Editor = class {
this.#editorEventDisposes = [
addEventListener(contentEl, "focus", () => {
this.#contentHasFocus = true;
@@ -55,7 +154,15 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
onFocus?.();
if (!this.#isContentMouseDown && !this.#isComposing && this.#focusRequest == null && this.#selections !== void 0 && this.#selections.length > 0) this.#setWindowSelection(this.#selections.at(-1));
}, { passive: true }),
-@@ -1397,6 +1415,7 @@ var Editor = class {
+@@ -1163,6 +1229,7 @@ var Editor = class {
+ this.#isContentMouseDown = true;
+ const isAltColumnDrag = e.button === 0 && e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey;
+ this.#selectionStart = void 0;
++ this.#dragAnchorUnmounted = false;
+ if (isAltColumnDrag) {
+ this.#altColumnDrag = {
+ pointerId: e.pointerId,
+@@ -1397,6 +1464,7 @@ var Editor = class {
this.#resizeObserver = new ResizeObserver(this.#handleLayoutResize);
this.#resizeObserver.observe(contentEl);
this.#resizeObserver.observe(contentEl.parentElement);
@@ -63,7 +170,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
this.#computeContentOffset(contentEl);
}
#handleCustomPasteEvent = async () => {
-@@ -1852,7 +1871,9 @@ var Editor = class {
+@@ -1852,7 +1920,9 @@ var Editor = class {
const change = textDocument.applyEdits(edits, true, selections, nextSelections, true);
if (change !== void 0) this.#applyChange(change, nextSelections);
}
@@ -74,7 +181,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
const lineAnnotations = this.#lineAnnotations?.length ?? 0;
const prevGutterWidth = this.#gutterWidthCache;
const prevContentWidth = this.#contentWidthCache;
-@@ -1860,12 +1881,12 @@ var Editor = class {
+@@ -1860,12 +1930,12 @@ var Editor = class {
this.#contentWidthCache = void 0;
const gutterWidthChanged = this.#getGutterWidth() !== prevGutterWidth;
const contentWidthChanged = this.#getContentWidth() !== prevContentWidth;
@@ -90,7 +197,22 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
}
if (this.#selections !== void 0 || this.#matches !== void 0 || this.#markerRenderer !== void 0) {
this.#updateSelections(this.#selections ?? []);
-@@ -2123,6 +2144,16 @@ var Editor = class {
+@@ -2013,7 +2083,13 @@ var Editor = class {
+ return;
+ }
+ const primaryPosition = primarySelection.direction === -1 ? primarySelection.end : primarySelection.start;
+- if (this.#getLineElement(primaryPosition.line) == null) return;
++ if (this.#getLineElement(primaryPosition.line) == null) {
++ const request = { restore: void 0 };
++ this.#cancelFocusRequest();
++ this.#focusRequest = request;
++ queueRender(() => this.#releaseFocusRequest(request));
++ return;
++ }
+ this.#focus(primaryPosition, true, restore);
+ }
+ #replacementFocusIsAvailable(contentElement) {
+@@ -2123,6 +2199,16 @@ var Editor = class {
this.#scrollCaretIntoView(line, character, "nearest");
}
};
@@ -107,7 +229,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
#focusAt(position) {
if (this.#focusRequest?.restore != null) this.#restoreReplacementFocus(position);
else this.#focus(position);
-@@ -2145,6 +2176,19 @@ var Editor = class {
+@@ -2145,6 +2231,19 @@ var Editor = class {
this.#scrollingToLineNoFocus = false;
return;
}
@@ -127,7 +249,7 @@ index b4c280390b52434f63fbe7916d81b150d9006fb4..ae0e8e6f9e0473a152b921a50a8c7833
let yFix = 0;
if (this.#scrollingToLine === line && this.#contentElement !== void 0) for (let i = this.#contentElement.childElementCount - 1; i >= 0; i--) {
const child = this.#contentElement.children[i];
-@@ -3370,6 +3414,7 @@ var Editor = class {
+@@ -3370,6 +3469,7 @@ var Editor = class {
this.#searchPanel = searchPanel;
this.#retainSearchPanelFocus = false;
searchPanel.mount();
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4c2fecbc1ca35..b46ec779c26e3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -371,7 +371,7 @@ patchedDependencies:
'@expo/ui@58.0.27': 9f2547678939f4ec78fe45163b6455aad63d3c80353d7e0cc783f6a61a7ccc2f
'@ff-labs/fff-node@0.11.0': 93f62a76399b435a76588b2bef237db0a1e85880c1ac0d0759c416e9cc579252
'@muse-code/sdk@1.4.6': 7b495b607fc5d76b444c7c4d58821e839726a30e6f3c53564f0d59f2d5b42101
- '@pierre/diffs@1.7.0-beta.4': b5d99ba050d8ccce3bd4018c2c21b7be2be3cb9bcc0d1f5ca76c481a9240b8c7
+ '@pierre/diffs@1.7.0-beta.4': a0c908c189c18b157a75adde780300616409204a24e97fd877254a2416e069af
'@react-native-ai/apple@0.12.0': 2d09870c2848d185cb05b53ed823a46e12dba519324d8dd8e584e28731990f9d
'@react-native-menu/menu@2.0.0': 6872ba71b9847c5a0210b1b896923dadc3860faedfe28d9f062bcedfe786ef1d
'@react-navigation/native-stack@7.21.0': 990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42
@@ -581,7 +581,7 @@ importers:
version: 0.3.0
'@pierre/diffs':
specifier: 1.7.0-beta.4
- 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)
+ 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)
'@pierre/highlights':
specifier: 'catalog:'
version: 0.5.0
@@ -1105,7 +1105,7 @@ importers:
version: 1.8.0
'@pierre/diffs':
specifier: 1.7.0-beta.4
- 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)
+ 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)
'@pierre/trees':
specifier: 1.0.0-beta.6
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:
dependencies:
'@pierre/diffs':
specifier: 1.7.0-beta.4
- 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)
+ 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)
'@t3tools/contracts':
specifier: workspace:*
version: link:../contracts
@@ -16497,7 +16497,7 @@ snapshots:
tslib: 2.8.1
webcrypto-core: 1.9.2
- '@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)':
+ '@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)':
dependencies:
'@pierre/highlights': 0.5.1
'@pierre/patches': 0.0.1
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index b82191391c804..9b25837340152 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -249,7 +249,8 @@ patchedDependencies:
"@expo/ui@58.0.27": patches/@expo__ui@58.0.27.patch
"@ff-labs/fff-node@0.11.0": patches/@ff-labs__fff-node@0.11.0.patch
# Exports the dependency-light subpaths mobile and the web diff parser import, re-measures
- # editor carets when the code font changes, and stops the find bar reclaiming focus from the file.
+ # editor carets when the code font changes, stops the find bar reclaiming focus from the file,
+ # and keeps drag selections intact across virtualized scroll renders.
"@pierre/diffs@1.7.0-beta.4": patches/@pierre__diffs@1.7.0-beta.4.patch
"@react-native-ai/apple@0.12.0": patches/@react-native-ai__apple@0.12.0.patch
"@react-native-menu/menu@2.0.0": patches/@react-native-menu__menu@2.0.0.patch