From babe3697dbda0c7aefd7be2230dec0955600ed3e Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Wed, 12 Feb 2025 21:50:21 +0200
Subject: [PATCH] increase load time to avoid glitchiness

---
 src/App.scss                                    | 2 --
 src/services/theme_data/theme_data_3.service.js | 8 +++++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/App.scss b/src/App.scss
index db47c48b83..6fa3a95b7f 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -498,8 +498,6 @@ nav {
   box-sizing: content-box;
   color: inherit;
 
-  --shadow: none;
-
   &.-link {
     /* stylelint-disable-next-line declaration-no-important */
     color: var(--link) !important;
diff --git a/src/services/theme_data/theme_data_3.service.js b/src/services/theme_data/theme_data_3.service.js
index d4f88e883f..33d860b8a6 100644
--- a/src/services/theme_data/theme_data_3.service.js
+++ b/src/services/theme_data/theme_data_3.service.js
@@ -567,7 +567,13 @@ export const init = ({
       if (!liteMode && combination.state.indexOf('hover') >= 0) {
         combination.lazy = true
       }
-      if (extraCompileComponents.has(component.name)) {
+
+      if (
+        parent?.component !== 'Root' &&
+          !virtualComponents.has(component.name) &&
+          !transparentComponents.has(component.name) &&
+          extraCompileComponents.has(component.name)
+      ) {
         combination.lazy = true
       }
 
-- 
GitLab