Web: Files: fixed InfiniteLoaderComponent height
This commit is contained in:
parent
a786e19afa
commit
db4e491ea9
@ -18,9 +18,9 @@ const InfiniteLoaderComponent = (props) => {
|
||||
}
|
||||
|
||||
return viewAs === "tile" ? (
|
||||
<GridComponent scroll={scroll} {...props} />
|
||||
<GridComponent scroll={scroll ?? window} {...props} />
|
||||
) : (
|
||||
<ListComponent scroll={scroll} {...props} />
|
||||
<ListComponent scroll={scroll ?? window} {...props} />
|
||||
);
|
||||
};
|
||||
InfiniteLoaderComponent.propTypes = {
|
||||
|
Loading…
Reference in New Issue
Block a user