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.
2 parents 8cbc64b + 77a91ad commit 379ea52Copy full SHA for 379ea52
src/components/ThreadEnvelope.vue
@@ -737,7 +737,7 @@ export default {
737
this.$nextTick(() => {
738
const threadElement = document.querySelector(`[data-thread-id="${threadId}"]`)
739
if (threadElement) {
740
- threadElement.scrollIntoView({ behavior: 'smooth', block: 'center' })
+ threadElement.scrollIntoView({ behavior: 'smooth', block: 'top' })
741
}
742
})
743
},
@@ -746,7 +746,7 @@ export default {
746
747
const envelopeElement = this.$refs.envelope
748
if (envelopeElement) {
749
- envelopeElement.scrollIntoView({ behavior: 'smooth', block: 'center' })
+ envelopeElement.scrollIntoView({ behavior: 'smooth', block: 'top' })
750
751
752
0 commit comments