Skip to content

Commit 4c73127

Browse files
committed
(fix) increase infinite-loading distance
1 parent 8823529 commit 4c73127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ChatWindow/Room.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
:class="{ 'vac-infinite-loading': !messagesLoaded }"
108108
spinner="spiral"
109109
direction="top"
110-
:distance="0"
110+
:distance="40"
111111
@infinite="loadMoreMessages"
112112
>
113113
<div slot="spinner">
@@ -893,7 +893,7 @@ export default {
893893
.vac-container-scroll {
894894
background: var(--chat-content-bg-color);
895895
flex: 1;
896-
overflow-y: scroll;
896+
overflow-y: auto;
897897
margin-right: 1px;
898898
margin-top: 60px;
899899
-webkit-overflow-scrolling: touch;

0 commit comments

Comments
 (0)