From e9504efa24148152cce3bf2bf3f588993d664b80 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Tue, 12 May 2026 09:16:34 -0600 Subject: [PATCH] perf(modals): gate 8 always-mounted modals with {#if}, drop blur shadow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two perf agents independently identified the same dominant cost behind the 2-3s modal-open latency on non-maximized windows: 8 modals declared at the top of `+page.svelte` (PlaylistModal, PlaylistImportModal, FolderEditModal, AboutModal, QualityFallbackModal, KeyboardShortcuts, KeybindingsSettings, LinkResolverModal) were always mounted, with only their inner templates gated by `{#if isOpen}`. Their `