mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 10:57:04 +00:00
Fix marker in chat
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
* Make reply indicator nicer
|
* Make reply indicator nicer
|
||||||
* Make share indicator nicer
|
* Make share indicator nicer
|
||||||
* Improve feed loading
|
* Improve feed loading
|
||||||
* (pending) Show marker for last activity in chat
|
* Show marker for last activity in chat
|
||||||
|
|
||||||
# 0.2.6
|
# 0.2.6
|
||||||
|
|
||||||
|
|||||||
@@ -115,8 +115,6 @@
|
|||||||
const hasEllipsis = $derived(shortContent.some(isEllipsis))
|
const hasEllipsis = $derived(shortContent.some(isEllipsis))
|
||||||
const expandInline = $derived(hasEllipsis && expandMode === "inline")
|
const expandInline = $derived(hasEllipsis && expandMode === "inline")
|
||||||
const expandBlock = $derived(hasEllipsis && expandMode === "block")
|
const expandBlock = $derived(hasEllipsis && expandMode === "block")
|
||||||
|
|
||||||
$inspect(fullContent)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
|
|||||||
@@ -202,8 +202,12 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
onDestroy(() => {
|
onDestroy(() => {
|
||||||
setChecked($page.url.pathname)
|
|
||||||
cleanup()
|
cleanup()
|
||||||
|
|
||||||
|
// Sveltekit calls onDestroy at the beginning of the page load for some reason
|
||||||
|
setTimeout(() => {
|
||||||
|
setChecked($page.url.pathname)
|
||||||
|
}, 300)
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user