We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f125df commit 5318e78Copy full SHA for 5318e78
src/components/ChatInterface.vue
@@ -406,8 +406,10 @@ export default {
406
async handleResultClick(result: QueryResult) {
407
await request("expandTableResult", { results: [result] })
408
await this.$nextTick();
409
- this.$refs.chatMessagesRef!.scrollTop =
410
- this.$refs.chatMessagesRef!.scrollHeight;
+ if (this.isAtBottom) {
+ this.$refs.chatMessagesRef!.scrollTop =
411
+ this.$refs.chatMessagesRef!.scrollHeight;
412
+ }
413
},
414
415
directives: {
0 commit comments