|
@@ -940,7 +940,7 @@ function _Chat() {
|
|
|
const prevPageMsgIndex = msgRenderIndex - CHAT_PAGE_SIZE;
|
|
|
const nextPageMsgIndex = msgRenderIndex + CHAT_PAGE_SIZE;
|
|
|
|
|
|
- if (isTouchTopEdge) {
|
|
|
+ if (isTouchTopEdge && !isTouchBottomEdge) {
|
|
|
setMsgRenderIndex(prevPageMsgIndex);
|
|
|
} else if (isTouchBottomEdge) {
|
|
|
setMsgRenderIndex(nextPageMsgIndex);
|