fix: scroll tugas

This commit is contained in:
amel
2024-09-26 17:00:07 +08:00
parent bf53728c5a
commit b67cf78477

View File

@@ -73,7 +73,7 @@ export default function ListDivisionTask() {
const containerHeight = containerRef.current.clientHeight;
const scrollHeight = containerRef.current.scrollHeight;
if (scrollTop + containerHeight >= scrollHeight) {
if (scrollTop + containerHeight + 1 >= scrollHeight) {
setPage(isPage + 1)
}
}