silentbox icon indicating copy to clipboard operation
silentbox copied to clipboard

How to make a transition-group ?

Open kissu opened this issue 3 years ago • 2 comments

I do have the following:

<silent-box :gallery="photos">
    <template #silentbox-item="{ silentboxItem }">
      <img :src="silentboxItem.src" />
	  ...
    </template>
</silent-box>

I'm not sure how to add transition-group to that kind of code. Tried it in pretty much any way without success. Can you give me a tip for that one ? 😄

kissu avatar Sep 29 '20 03:09 kissu

What do you want to achieve? :)

silencesys avatar Oct 20 '20 08:10 silencesys

If I remove some photos, I wish to have some fluid transition with each element moving to their future position rather than just an instant positioning on the empty slots.

kissu avatar Oct 20 '20 09:10 kissu