From b495d33414eeea89fd77ee935b79259b4c06eaee Mon Sep 17 00:00:00 2001 From: "paseo-bot[bot]" <266920839+paseo-bot[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 06:40:40 +0000 Subject: [PATCH] Name the iOS HTML preview as the view that does not keep its offset Co-Authored-By: Claude Opus 5.5 --- packages/app/src/file-panels/source/panel.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/src/file-panels/source/panel.tsx b/packages/app/src/file-panels/source/panel.tsx index badc4162c3..c74e4492ad 100644 --- a/packages/app/src/file-panels/source/panel.tsx +++ b/packages/app/src/file-panels/source/panel.tsx @@ -70,7 +70,8 @@ type TextFilePanelProps = PluginFilePanelProps & { * What the Markdown, HTML and Source panels share: a toolbar over the file's Source view and, when * the panel passes one, its Preview. Both views show the one read of the file and, while editing, the one editor buffer, so switching * between them neither re-reads nor loses edits. Each view stays mounted once shown, so switching - * back also returns to where it was scrolled. Edits files up to 1 MiB on web; shows larger files + * back also returns to where it was scrolled. The exception is the HTML Preview on iOS: iOS + * replaces the WebView of a hidden view, so the page loads again from the top. Edits files up to 1 MiB on web; shows larger files * and every file on native read-only, and refuses files above the display budget before reading. */ export function TextFilePanel(props: TextFilePanelProps) {