Fix new messages button, improve room load

This commit is contained in:
Jon Staab
2026-03-30 14:20:30 -07:00
parent e8ed9cd379
commit 2fd7556a52
3 changed files with 8 additions and 11 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import {onMount, tick} from "svelte"
import {onMount} from "svelte"
import {readable} from "svelte/store"
import {page} from "$app/stores"
import {goto} from "$app/navigation"
@@ -301,7 +301,7 @@
elements.reverse()
tick().then(manageScrollPosition)
requestAnimationFrame(manageScrollPosition)
return elements
})
+2 -2
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import {onMount, tick} from "svelte"
import {onMount} from "svelte"
import {page} from "$app/stores"
import {goto} from "$app/navigation"
import type {Readable} from "svelte/store"
@@ -232,7 +232,7 @@
elements.reverse()
tick().then(manageScrollPosition)
requestAnimationFrame(manageScrollPosition)
return elements
})