mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 05:54:19 +01:00
fix: lazy load
This commit is contained in:
@@ -21,7 +21,7 @@ const LazyLoad: Component<LazyLoadProps> = (props) => {
|
||||
});
|
||||
},
|
||||
{
|
||||
threshold: props.threshold ?? 0,
|
||||
threshold: props.threshold ?? [0, 1],
|
||||
},
|
||||
);
|
||||
if (containerRef != null) {
|
||||
|
||||
Reference in New Issue
Block a user