persisting in postgres
This commit is contained in:
@@ -72,7 +72,7 @@ Hooks.MarkdownStream = {
|
||||
|
||||
Hooks.ScrollBottom = {
|
||||
mounted() {
|
||||
this.scrollToBottom()
|
||||
requestAnimationFrame(() => this.scrollToBottom())
|
||||
this.observer = new MutationObserver(() => {
|
||||
if (this.isNearBottom()) this.scrollToBottom()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user