diff --git a/src/hooks/useElementLazyRender.ts b/src/hooks/useElementLazyRender.ts index 7596c94093..b006d70017 100644 --- a/src/hooks/useElementLazyRender.ts +++ b/src/hooks/useElementLazyRender.ts @@ -3,7 +3,7 @@ import observe from '../_common/js/utils/observe'; export function useElementLazyRender(labelRef: MutableRefObject, lazyLoad: boolean) { const ioObserver = useRef(); - const [showElement, setShowElement] = useState(true); + const [showElement, setShowElement] = useState(!lazyLoad); const handleLazyLoad = () => { if (!lazyLoad || !labelRef.current || ioObserver.current) return;