diff --git a/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js b/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js index 9d8be663..d8f122aa 100644 --- a/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js +++ b/src/renderer/components/watch-video-live-chat/watch-video-live-chat.js @@ -213,7 +213,8 @@ export default Vue.extend({ liveChatComments.animate({ scrollTop: liveChatComments.prop('scrollHeight') }) } - if (this.comments.length > 150) { + if (this.comments.length > 150 && this.stayAtBottom) { + console.log('user is not at bottom') this.comments = this.comments.splice(this.comments.length - 150, this.comments.length) } },