Skip to content

Does not seem to work inside an {#each} block of images? #95

@rchrdnsh

Description

@rchrdnsh

I have code like this:

{#each posts as post }
  <div class='post'>
    <div class='image' class:playing-border={currentTitle === post.title}>
      <Image class='rounded-svelte-image' src={post.image} alt={post.alt} />
    </div>
    <!-- other cool stuff in hurrr -->
  </div>
{/each}

...but the blur or trace does not seem to show up on these images when I test it out...do I need to do anything special when using this inside an {#each} block in any way?

Or am I doing anything incorrect?

also, just caught this in the terminal...from svelte-image?

Cannot process a dynamic value: MustacheTag

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions