fix: scroll member

This commit is contained in:
amel
2024-09-26 16:51:19 +08:00
parent dced0ad749
commit bf53728c5a

View File

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