This commit is contained in:
Daniel Shleifman
2021-06-03 19:32:11 +03:00
parent 166c2af5b4
commit aec2ecbb20

View File

@@ -124,7 +124,9 @@ const TorrentCache = memo(
</Stage>
</DialogContent>
{isMini && dimensions.height >= miniCacheMaxHeight && <ScrollNotification>scroll down</ScrollNotification>}
{isMini &&
(stageOffset + blockSizeWithMargin * amountOfRows || 0) >= miniCacheMaxHeight &&
dimensions.height >= miniCacheMaxHeight && <ScrollNotification>scroll down</ScrollNotification>}
</div>
)}
</Measure>