increase load time to avoid glitchiness

This commit is contained in:
Henry Jameson 2025-02-12 21:50:21 +02:00
parent c14f88e290
commit babe3697db
2 changed files with 7 additions and 3 deletions

View file

@ -498,8 +498,6 @@ nav {
box-sizing: content-box; box-sizing: content-box;
color: inherit; color: inherit;
--shadow: none;
&.-link { &.-link {
/* stylelint-disable-next-line declaration-no-important */ /* stylelint-disable-next-line declaration-no-important */
color: var(--link) !important; color: var(--link) !important;

View file

@ -567,7 +567,13 @@ export const init = ({
if (!liteMode && combination.state.indexOf('hover') >= 0) { if (!liteMode && combination.state.indexOf('hover') >= 0) {
combination.lazy = true 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 combination.lazy = true
} }