fix: scroll member
This commit is contained in:
@@ -66,7 +66,7 @@ export default function TabListMember() {
|
|||||||
const containerHeight = containerRef.current.clientHeight;
|
const containerHeight = containerRef.current.clientHeight;
|
||||||
const scrollHeight = containerRef.current.scrollHeight;
|
const scrollHeight = containerRef.current.scrollHeight;
|
||||||
|
|
||||||
if (scrollTop + containerHeight >= scrollHeight) {
|
if (scrollTop + containerHeight + 1 >= scrollHeight) {
|
||||||
setPage(isPage + 1)
|
setPage(isPage + 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user