From 5e3929575d764168954f5b095d76f9561051046e Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Thu, 12 Feb 2026 11:14:22 +0300 Subject: [PATCH] feat(FontApplicator): remove IntersectionObserver to ease the product, font applying logic is entirely in the VirtualList --- .../ui/FontApplicator/FontApplicator.svelte | 65 +++++++------------ 1 file changed, 23 insertions(+), 42 deletions(-) diff --git a/src/entities/Font/ui/FontApplicator/FontApplicator.svelte b/src/entities/Font/ui/FontApplicator/FontApplicator.svelte index a6076ec..4126522 100644 --- a/src/entities/Font/ui/FontApplicator/FontApplicator.svelte +++ b/src/entities/Font/ui/FontApplicator/FontApplicator.svelte @@ -2,11 +2,10 @@ Component: FontApplicator Loads fonts from fontshare with link tag - Loads font only if it's not already applied - - Uses IntersectionObserver to detect when font is visible + - Reacts to font load status to show/hide content - Adds smooth transition when font appears -->