diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte
index c68da992..9f43f835 100644
--- a/src/lib/components/lemmy/comment/Comment.svelte
+++ b/src/lib/components/lemmy/comment/Comment.svelte
@@ -10,9 +10,7 @@
import { errorMessage } from '$lib/lemmy/error'
import { Button, Modal, toast } from 'mono-svelte'
import { Bookmark, Icon, Microphone, Pencil, Trash } from 'svelte-hero-icons'
- import { expoOut } from 'svelte/easing'
import type { ClassValue } from 'svelte/elements'
- import { slide } from 'svelte/transition'
import ShieldIcon from '../moderation/ShieldIcon.svelte'
import CommentForm from './CommentForm.svelte'
import type { CommentNodeI } from './comments.svelte'
@@ -74,6 +72,16 @@
editingLoad = false
}
+
+ $effect(() => {
+ if (!open) {
+ // const
+ }
+ })
+
+ setTimeout(() => {
+ open = true
+ }, 500)
{#if editing || replying}
@@ -202,11 +210,8 @@
{/if}
- {#if open}
-
+
+
+
+
diff --git a/src/lib/components/lemmy/comment/Comments.svelte b/src/lib/components/lemmy/comment/Comments.svelte
index 13409760..160f9e0a 100644
--- a/src/lib/components/lemmy/comment/Comments.svelte
+++ b/src/lib/components/lemmy/comment/Comments.svelte
@@ -4,16 +4,14 @@
import { page } from '$app/state'
import { t } from '$lib/i18n/translations'
import { getClient } from '$lib/lemmy.svelte.js'
+ import { errorMessage } from '$lib/lemmy/error'
import type { Post } from 'lemmy-js-client'
import { Button, toast } from 'mono-svelte'
import { onMount } from 'svelte'
import { ArrowDownCircle, Icon } from 'svelte-hero-icons'
- import { expoOut } from 'svelte/easing'
- import { fly } from 'svelte/transition'
import Comment from './Comment.svelte'
import Comments from './Comments.svelte'
import { buildCommentsTree, type CommentNodeI } from './comments.svelte'
- import { errorMessage } from '$lib/lemmy/error'
interface Props {
nodes: CommentNodeI[]
@@ -103,7 +101,7 @@
}
-
+
{#each nodes as node, index (node.comment_view.comment.id)}