From aec2ecbb202d78abe0c724ed9476951c17948582 Mon Sep 17 00:00:00 2001 From: Daniel Shleifman Date: Thu, 3 Jun 2021 19:32:11 +0300 Subject: [PATCH] fix --- .../components/DialogTorrentDetailsContent/TorrentCache.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/components/DialogTorrentDetailsContent/TorrentCache.jsx b/web/src/components/DialogTorrentDetailsContent/TorrentCache.jsx index 239e33a..db29707 100644 --- a/web/src/components/DialogTorrentDetailsContent/TorrentCache.jsx +++ b/web/src/components/DialogTorrentDetailsContent/TorrentCache.jsx @@ -124,7 +124,9 @@ const TorrentCache = memo( - {isMini && dimensions.height >= miniCacheMaxHeight && scroll down} + {isMini && + (stageOffset + blockSizeWithMargin * amountOfRows || 0) >= miniCacheMaxHeight && + dimensions.height >= miniCacheMaxHeight && scroll down} )}