svelte-tiny-virtual-list icon indicating copy to clipboard operation
svelte-tiny-virtual-list copied to clipboard

afterScroll not firing

Open FluffyDiscord opened this issue 1 year ago • 3 comments

Hi, the afterScroll is not firing for me, any tips ?

<VirtualList
            width="100%"
            height={400}
            itemCount={$messages.length}
            itemSize={92}
            {scrollOffset}
            {scrollToBehaviour}
            on:afterScroll={() => console.log("well, hello there")}
    >
        <svelte:fragment slot="item" let:index let:style>
            {@const message = $messages[index]}
            <div class="flex gap-x-6 px-8 py-6 relative" {style}>
               // thingy
            </div>
        </svelte:fragment>
</VirtualList>

FluffyDiscord avatar Nov 14 '22 09:11 FluffyDiscord