misc: add #comments for comments button
This commit is contained in:
1 parent
0ea98f41dc
commit
e6bd415749
5 files changed
+35
-30
No files matched your search
@@ -4,9 +4,11 @@
|
||||
import { createWindowVirtualizer } from '@tanstack/svelte-virtual'
|
||||
import Comments from './Comments.svelte'
|
||||
import { browser } from '$app/environment'
|
||||
import { onMount } from 'svelte'
|
||||
|
||||
export let nodes: CommentNodeI[]
|
||||
export let post: Post
|
||||
export let scrollTo: string | undefined
|
||||
|
||||
let virtualListEl: HTMLElement | undefined = undefined
|
||||
|
||||
@@ -18,6 +20,7 @@
|
||||
height: 1500,
|
||||
width: 99999,
|
||||
},
|
||||
overscan: 5,
|
||||
})
|
||||
|
||||
let virtualItemEls: HTMLElement[] = []
|
||||
|
||||
Reference in new issue
Block a user