Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make a transition-group ? #38

Open
kissu opened this issue Sep 29, 2020 · 2 comments
Open

How to make a transition-group ? #38

kissu opened this issue Sep 29, 2020 · 2 comments
Labels

Comments

@kissu
Copy link

kissu commented Sep 29, 2020

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 ? 😄

@silencesys
Copy link
Owner

What do you want to achieve? :)

@kissu
Copy link
Author

kissu commented Oct 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants