fix: lazy load

This commit is contained in:
Shusui MOYATANI
2024-01-02 17:37:37 +09:00
committed by GitHub
parent c3998830a3
commit bc5c0c0fe9

View File

@@ -21,7 +21,7 @@ const LazyLoad: Component<LazyLoadProps> = (props) => {
});
},
{
threshold: props.threshold ?? 0,
threshold: props.threshold ?? [0, 1],
},
);
if (containerRef != null) {