diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-09-16 14:07:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 14:07:06 +0300 |
commit | 0173b28882c3a8ea5f389d146cd4e120e2dbc89f (patch) | |
tree | 2fc8883eec38f9d35cb7a1cb213f2ab0c307e9f4 /src | |
parent | cf54a39c541ed09077c4753aca7217a0a9713728 (diff) | |
parent | 6dc4ebe3fdfecdfb5879fbba38903182a87e1c1a (diff) |
Merge pull request #4150 from nextcloud/bugfix/noid/fix-sidebars-chat-scrolling
Fix scrolling of sidebar's chat
Diffstat (limited to 'src')
-rw-r--r-- | src/components/MessagesList/MessagesList.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/MessagesList/MessagesList.vue b/src/components/MessagesList/MessagesList.vue index 50724c5a8..f39a71bd2 100644 --- a/src/components/MessagesList/MessagesList.vue +++ b/src/components/MessagesList/MessagesList.vue @@ -29,7 +29,7 @@ get the messagesList array and loop through the list to generate the messages. <!-- size and remain refer to the amount and initial height of the items that are outside of the viewport --> <div - id="scroller" + ref="scroller" class="scroller" @scroll="debounceHandleScroll"> <div @@ -217,7 +217,7 @@ export default { }, scroller() { - return document.querySelector('.scroller') + return this.$refs.scroller }, }, |