increase load time to avoid glitchiness

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

View file

@ -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
}