persisting in postgres

This commit is contained in:
2026-03-06 15:26:55 -07:00
parent b9db6408b1
commit 8059048db2
13 changed files with 255 additions and 46 deletions

View File

@@ -72,7 +72,7 @@ Hooks.MarkdownStream = {
Hooks.ScrollBottom = {
mounted() {
this.scrollToBottom()
requestAnimationFrame(() => this.scrollToBottom())
this.observer = new MutationObserver(() => {
if (this.isNearBottom()) this.scrollToBottom()
})